Weird freeze with boost::thread on Win2K
Hi! I'm using boost::thread on MSVC6/Win2k. When I start two processes which both use boost::thread, the second process waits for up to a minute or two before starting. The process doesn't bug, it just hangs there for a while and then starts. Is this a known problem? Regards, Viktor Lundström
Viktor Lundström wrote:
Hi! I'm using boost::thread on MSVC6/Win2k. When I start two processes which both use boost::thread, the second process waits for up to a minute or two before starting. The process doesn't bug, it just hangs there for a while and then starts. Is this a known problem?
Not known to me, at any rate. Some questions: 1) What reason do you have for thinking that Boost.Thread is causing the problem? 2) Even if it is Boost.Thread, a lot more detail would be necessary to figure out why. What features of Boost.Thread are you using? How do you use them? In particular, how do you use them when the process is starting? 3) Can you attach a debugger to the hanging process and see what it's doing when it hangs? Mike
Regards, Viktor Lundström
I just tried to verify this. I am using the exact same configuration Win2K/MSCV6, well almost I am using the latest CVS (1_31). It works without the described behaviour for me. Roland
participants (3)
-
Michael Glassford
-
Roland
-
Viktor Lundström