Subject: Re: [Boost-users] C++ thread in BOOST
From: Igor R (boost.lists_at_[hidden])
Date: 2011-06-06 17:47:19


> 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