Hi ... I have been looking into your thread lib, and all seem fine and nice, but is it true that there where no RW mutex or is it just called something I did not know ? Also, ... are there some kind of URL / socket lib in boost ? /BL
Hi Bo,
On 16/03/07, Bo Lorentsen
Hi ...
I have been looking into your thread lib, and all seem fine and nice, but is it true that there where no RW mutex or is it just called something I did not know ?
IIUC, the read-write mutex in the current thread lib is broken. The reason it hasn't been fixed is probably because the thread developers have been working on a rewrite of the code base. When that's done, I believe there will be a read-write mutex (here's an old but relevant post: http://permalink.gmane.org/gmane.comp.lib.boost.threads.devel/58) Also, ... are there some kind of URL / socket lib in boost ? Check out Boost.Asio. That's what you're looking for. (It won't be in boost 1.34, but it has been accepted) http://asio.sf.net hth, Darren
Darren Garvey wrote:
IIUC, the read-write mutex in the current thread lib is broken. The reason it hasn't been fixed is probably because the thread developers have been working on a rewrite of the code base. When that's done, I believe there will be a read-write mutex (here's an old but relevant post: http://permalink.gmane.org/gmane.comp.lib.boost.threads.devel/58) Ahh, ok ...
Check out Boost.Asio. That's what you're looking for. (It won't be in boost 1.34, but it has been accepted) http://asio.sf.net This looks mostly like a TCP socket layer.
We have made one (http://trac.lue.dk/nbpp) that can handle sockets as pure C++ streams, and a URL class that work much like the one in Java, and I was hoping to find something like this in boost, too :-( The library I refer to has many functions also found in boost, but a few that is not, and I was looking for a way to join these two worlds together. Any advise ? /BL
On 3/17/07, Bo Lorentsen
Darren Garvey wrote:
IIUC, the read-write mutex in the current thread lib is broken. The reason it hasn't been fixed is probably because the thread developers have been working on a rewrite of the code base. When that's done, I believe there will be a read-write mutex (here's an old but relevant post: http://permalink.gmane.org/gmane.comp.lib.boost.threads.devel/58) Ahh, ok ...
Check out Boost.Asio. That's what you're looking for. (It won't be in boost 1.34, but it has been accepted) http://asio.sf.net This looks mostly like a TCP socket layer.
Look again, but this time check out the class reference. It is so much more than a simple TCP layer.
/BL
-- Cory Nelson
participants (3)
-
Bo Lorentsen
-
Cory Nelson
-
Darren Garvey