Boost logo

Boost Users :

Subject: Re: [Boost-users] mutex locking!
From: Wesley Khandavalli (wesleyk_at_[hidden])
Date: 2008-09-05 02:18:10


ok.. thnx anthony.. i'll try that..

believe me u solved a big problem for me as i was combining boost threading
and pthread mutex in my project as i was not able to do explicit locking and
unlocking in boost.

thnx :-)

On Thu, Sep 4, 2008 at 7:51 PM, Anthony Williams <anthony.ajw_at_[hidden]>wrote:

> "Wesley Khandavalli" <wesleyk_at_[hidden]> writes:
>
> > i am trying to do the following but it says- error: 'class boost::mutex'
> has
> > no member named 'lock'
>
> This was true for Boost 1.34 and earlier. In Boost 1.35 and Boost
> 1.36, mutex has lock() and unlock() members.
>
> 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
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

-- 
Wesley K
Software Engineer
m: +91 9969628090 | t: +91 2444 8097
wesleyk_at_[hidden] | www.vubites.com


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