
Anthony Williams wrote:
Alexander Terekhov <terekhov@web.de> writes:
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.
I'm not subscribed to posix-c++-sg, and the archives aren't available publicly. The list info page says it's a closed list: are random people (i.e. me) likely to get approval to subscribe?
I have no idea. I have subscribed to it a year or so ago without any problems but got a bunch of "No reason given" mod's rejections for cc's to it of lately. So don't mention me. :-) regards, alexander.