Boost logo

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