summaryrefslogtreecommitdiffstats
path: root/source3/lib/pthreadpool/tests.c
Commit message (Collapse)AuthorAgeFilesLines
* pthreadpool: Allow multiple jobs to be receivedVolker Lendecke2014-03-271-4/+4
| | | | | | | This can avoid syscalls when multiple jobs are finished simultaneously Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* pthreadpool: Add test for fork crashVolker Lendecke2014-03-031-0/+48
| | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Kamen Mazdrashki <kamenim@samba.org> Reviewed-by: Simo Sorce <simo@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* Change the signature of pthreadpool_finished_job() to return 0Jeremy Allison2011-12-221-8/+10
| | | | | | | | | on success, errno on fail and return the jobid in a separate variable. I need this fix for my vfs_aio_pthread.c module. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Dec 22 12:12:33 CET 2011 on sn-devel-104
* s3: pthreadpool_sig_fd->pthreadpool_signal_fdVolker Lendecke2011-04-251-2/+2
|
* s3: Many pthreadpool fixesVolker Lendecke2011-04-251-0/+362
In particular, this makes it fork-safe