class noncopyable {
public:
noncopyable() {}
noncopyable(const noncopyable&) = delete;
noncopyable operator=(const noncopyable&) = delete;
};
cpp link
pthreads tutorial
futex : normal futexes are special types of locks that in the
noncontended case can be acquired/released from userspace without having
to enter the kernel.
robust futex
futex are tricky
Mutexes and Condition Variables using Futexes