Re: [Boost-users] Why is boost::thread::mutex noncopyable?

1 Jan
2006
1 Jan
'06
6:19 p.m.
Can someone help me to understand why boost::thread::mutex is noncopyable? I expect that there is a good reason, but I can't see it at the moment.
I'm being a bit dense - a subsequent FAQ shows how you can write a copy-constructor for a struct that contains a mutex that explicitly copies the data, giving you a new default-constructed mutex. The constructor can even lock the thing it is copying. --Phil.
6992
Age (days ago)
6992
Last active (days ago)
0 comments
1 participants
participants (1)
-
Phil Endecott