Boost logo

Boost Users :

From: Michael Glassford (glassfordm_at_[hidden])
Date: 2004-01-09 09:35:59


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


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