I was reading about daemon threads, and came across this SO page, the comment under the answer says:
But joining a demonized thread opens most likely a whole can of trouble! I'm now considering to remove the join() call in my little diagram for the daemon-thread
I understand what daemon threads are used for and why but, suppose you had to wait for a daemon thread to finish what it's doing, how would you do it if calling join() is considered a lot of trouble?