Change the signature of pthreadpool_finished_job() to return 0
authorJeremy Allison <jra@samba.org>
Thu, 22 Dec 2011 04:38:32 +0000 (20:38 -0800)
committerJeremy Allison <jra@samba.org>
Thu, 22 Dec 2011 11:12:33 +0000 (12:12 +0100)
commit711c18c2301d1bea35cac1144080a94e6b89be27
tree0ead0dba686289a6a6ffb92a58d9120d8d97deb3
parent8303d163cf34d0b61bfbbc62e497f7b444a17e10
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
source3/lib/fncall.c
source3/lib/pthreadpool/pthreadpool.c
source3/lib/pthreadpool/pthreadpool.h
source3/lib/pthreadpool/tests.c