
19 Mar
2007
19 Mar
'07
9:14 p.m.
Sohail Somani wrote:
A fine reason, but why would you want to lump it in with <thread>? Or alternatively, require <thread> to depend on <pthread.h>? Looks like there should be another proposal to add <pthread.h> to the standard...
I've tried to address some of these questions in N2178, sections III and IV. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2178.html#principle... Basically, it's easy for the committee to adopt just the pthread.h portion of N2178 if they like, but I've presented both APIs in the document to emphasize that they form a coherent whole, are intended to play well together (in mixed C/C++ code), and are merely different views to the same threading core.