C++ thread in BOOST

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

C++ thread in BOOST

Claude
Hi!
I would like to use some c++2011 thread library functions in VC + + using BOOST thread.

What is the equivalent of try_lock_for() (c++ timed_mutex) in BOOST timed_mutex?
Reply | Threaded
Open this post in threaded view
|

Re: C++ thread in BOOST

Igor R.
> I would like to use some c++2011 thread library functions in VC + + using
> BOOST thread.
>
> What is the equivalent of try_lock_for() (c++ timed_mutex) in BOOST
> timed_mutex?

Seems to be timed_lock():
http://www.boost.org/doc/libs/1_46_1/doc/html/thread/synchronization.html#thread.synchronization.mutex_concepts.timed_lockable
_______________________________________________
Boost-users mailing list
[hidden email]
http://lists.boost.org/mailman/listinfo.cgi/boost-users