thread pool helpers

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Apr 28 15:29:18 GMT 2009

On Tue, Apr 28, 2009 at 08:22:58AM -0700, Jeremy Allison wrote:
> Is there a way we can wrap this, so that on systems with non-broken
> pthread semantics can work with pthreads, and on Linux we use something
> else ?

In case we want this API, it should be pretty easy to hide a
clone(2)-based API behind the fncall_send/recv functions. My
only worry is that I don't know I get the memory barriers to
work correctly across all Linux platforms. Not doing that
correctly might introduce subtle bugs on true multiprocessor

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list