Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2007-03-22 06:08:07

Anthony Williams wrote:
> typedef once_flag pthread_once_t;
> int pthread_once(pthread_once_t* once_control,void(*init_routine)())
> {
> std::call_once(*once_control,init_routine);
> return 0;
> }

Right, the only problem is that folks like Drepper of Red Hat would
rather commit suicide than accept the notion of pthread.h
implementable in terms of <thread>. See the comedy at posix-c++-sg.


Boost list run by bdawes at, gregod at, cpdaniel at, john at