In a test program I have written, I spawn two threads, then join to one.
When I do this, both threads run before returning to the function that did
the join. Why is this? I did not expect this, and so I based my program
design around self-scheduled threads, so how can this be
avoided?
Thanks,
Lachlan