Boost logo

Boost Users :

Subject: Re: [Boost-users] Mutex is always blocking
From: Jean-Sebastien Stoezel (js.stoezel_at_[hidden])
Date: 2008-10-06 10:53:58


Thanks for the quick answer... The blocking is not the issue here. The
issue is that I don't seem to be able to lock a mutex at all even when
I can insure that no other thread has ever called "lock" before.

On Mon, Oct 6, 2008 at 9:47 AM, Benjamin Lau <blwy10v_at_[hidden]> wrote:
> Have you tried using the mutex member function try_lock?
>
> See: http://www.boost.org/doc/libs/1_36_0/doc/html/thread/synchronization.html#thread.synchronization.mutex_concepts.lockable.try_lock
>
> Hope this helps!
> Benjamin
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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