Boost logo

Boost Users :

Subject: Re: [Boost-users] is boost 1.46.1 contain thread/read_write_mutex.hpp
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-08-05 15:43:27


AMDG

On 08/03/2011 06:15 PM, Eric Lin wrote:
>
> dear boost progamers:
>
> when I tried to compile from my g++4.5.2 a simple file which include
> #include <boost/thread/read_write_mutex.hpp>
> -------
> root_at_eric-laptop:/home/eric/cppcookbook/ch12# g++ -lboost_thread Example12-3.cpp
> Example12-3.cpp:3:45: fatal error: boost/thread/read_write_mutex.hpp: No such file or directory
> compilation terminated.
> ---------
> and I check from / of my ubuntuLinux with boost 1.46.1
> I can not find any file name as read_wirte_mutex.hpp
> ---------
> root_at_eric-laptop:/# find . | grep read_write_mutex.hpp
> root_at_eric-laptop:/#
> ---
> and I can not digout from web how to make it compile under gcc/g++
>

IIRC, read_write_mutex was pulled years ago, because it
was broken. The new version is called shared_mutex.

In Christ,
Steven Watanabe




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