Change the signature of pthreadpool_finished_job() to return 0 on success, errno...
commitb30626720405c435ad48abf8e1445ee8f4b859a3
authorJeremy Allison <jra@samba.org>
Thu, 22 Dec 2011 04:38:32 +0000 (21 20:38 -0800)
committerKarolin Seeger <kseeger@samba.org>
Sun, 12 Feb 2012 20:03:23 +0000 (12 21:03 +0100)
tree1e7f8e3d1074d6d612488b27af77baac84963062
parent5bfe963d9279571b8392fabf0373b603014615eb
Change the signature of pthreadpool_finished_job() to return 0 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
(cherry picked from commit 711c18c2301d1bea35cac1144080a94e6b89be27)
source3/lib/fncall.c
source3/lib/pthreadpool/pthreadpool.c
source3/lib/pthreadpool/pthreadpool.h
source3/lib/pthreadpool/tests.c