
20 Mar
2007
20 Mar
'07
6:59 p.m.
Anthony Williams wrote:
I'd be willing to help with a Boost.Pthread layer. I would be concerned about layering Boost.Thread on Boost.Pthread, since that seems to me to be too many abstractions. However, if we can make Boost.Thread and Boost.Pthread share stuff under the covers, that would be neat.
Since the Boost.Thread (and N2184) underlying model is essentially equivalent to pthreads, one easy way to make Boost.Thread and Boost.Pthread share stuff is to make Boost.Thread use the pthread_* functions. :-) Perhaps you have in mind an intermediate common API? What would we gain from it?