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 lemme ask a friend that I know works with Java. Will get back to you.

@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 chitter.xyz/media/ZfCSoBF-LBgq

Sign in to participate in the conversation
Computer Fairies

Computer Fairies is a Mastodon instance that aims to be as queer, friendly and furry as possible. We welcome all kinds of computer fairies!