|
Boost Users : |
Subject: Re: [Boost-users] boost thread query
From: Igor R (boost.lists_at_[hidden])
Date: 2010-11-24 07:17:40
> If I do a thread.join, will the main thread continue, i.e I have a while loop in the main thread waiting for a windows message, if I put thread.join in there I don't want the loop to stop.
No, thread.join() blocks the calling thread just like WinAPI
WaitForSingleObject() that you mentioned in your OP.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net