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
 
-- Lachlan Holmes
   Software Engineer
   TODAY Systems, Inc.
   www.todaysystems.com.au
 

Reply via email to