in reply to Re^5: Thread::RWLock for 5.8 threads ?
in thread Thread::RWLock for 5.8 threads ?

Yeah, namespace is an issue. In the interest of GOWI, I'll probably bury it inside the Thread::Queue::Duplex bundle. Tho maybe "Thread::Resource::ReadWrite" might be a good namespace, so anything else related to sharing resources among threads has a root. I'm already considering an alternate locking algorithm that permits upgrading read to write locks, or downgrading writes to reads; as currently implemented, T::RWLock requires a reader to unlock before it could get a write lock.