|
Boost Users : |
Subject: Re: [Boost-users] query regarding mutex
From: Igor R (boost.lists_at_[hidden])
Date: 2010-07-26 15:21:20
> This is how mutex class looks like
>
> #include <boost/thread/mutex.hpp>
> class mutex:
> Â Â boost::noncopyable
> {
> public:
> Â Â mutex();
> Â Â ~mutex();
> Â Â void lock();
> Â Â bool try_lock();
> Â Â void unlock();
> Â Â typedef platform-specific-type native_handle_type;
> Â Â native_handle_type native_handle();
> Â Â typedef unique_lock<mutex> scoped_lock;
>
> Â Â typedef unspecified-type scoped_try_lock;
>
> };
>
> Please help me figure out what purpose does 'unspecified-type' serve below.
Note that this is just documentation, not the real class definition.
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