if only java was a linux distribution i'm sure i'd have 5 or 10 techbros arguing in my mentions already instead of radio silence
@squirrel According to my friend:
thread.join() means "Wait for this thread to die"
Basically all the threads can be run in parallel, but when .join() is called the thread that called the join() method waits until the thread has finished and terminated
when a thread calls .join() it can't do anything else, so putting both in a single block will start a thread, wait for it to terminate and then go back to the beginning of the loop https://chitter.xyz/media/ZfCSoBF-LBgqmq3EByE
@squirrel lemme ask a friend that I know works with Java. Will get back to you.