$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2008-09-02 06:50:14
"Wesley Khandavalli" <wesleyk_at_[hidden]> writes:
> I want to explicitly lock and unlock mutex. Is it possible and what are the methods?-- Wesley K
Yes, it's possible. boost::mutex implements the Lockable concept.
See
http://www.boost.org/doc/libs/1_36_0/doc/html/thread/synchronization.html#thread.synchronization.mutex_types.mutex
http://www.boost.org/doc/libs/1_36_0/doc/html/thread/synchronization.html#thread.synchronization.mutex_concepts.lockable
Anthony
-- Anthony Williams | Just Software Solutions Ltd Custom Software Development | http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL