Samba 3.6.4 and pthreads

Jeremy Allison jra at
Mon Apr 23 18:38:52 MDT 2012

On Mon, Apr 23, 2012 at 05:33:13PM -0700, Ravi Mulam wrote:
> Hi,
>   I am trying to use a pthread conditional variable in a samba VFS module
> that I am working on. When I try to wait on a conditional variable using
> pthread_cond_wait(), it returns with  a EOPNOTSUPP error. This does not
> happen with samba-3.4.5. I am developing this samba module on FreeBSD. Any
> idea why this would be happening?  Thanks in advance for the help.

Seems like you're not linking with the correct pthread library
on FreeBSD. Samba modules happily use pthreads (see Volker's
pthreadpool code for an example).


More information about the samba-technical mailing list