1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/pthreadpool
Andreas Schneider 4b28239d13 pthreadpool: Only link pthreadpool against librt if we have to
This calls clock_gettime() which is available in glibc on Linux. If the
wscript in libreplace detected that librt is needed for clock_gettime()
we have to link against it.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14140

Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Pair-Programmed-With: Isaac Boukris <iboukris@gmail.com>
Reviewed-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
2019-09-25 15:39:40 +00:00
..
Makefile
pthreadpool_pipe.c
pthreadpool_pipe.h
pthreadpool_sync.c Revert "pthreadpool: call unshare(CLONE_FS) if available" 2019-01-11 23:11:13 +01:00
pthreadpool_tevent.c Revert "pthreadpool: split out pthreadpool_tevent_job from pthreadpool_tevent_job_state" 2019-01-11 23:11:14 +01:00
pthreadpool_tevent.h Revert "pthreadpool: maintain a global list of orphaned pthreadpool_tevent_jobs" 2019-01-11 23:11:14 +01:00
pthreadpool.c pthreadpool: Remove wrong comment. 2019-08-23 23:09:12 +00:00
pthreadpool.h Revert "pthreadpool: call unshare(CLONE_FS) if available" 2019-01-11 23:11:13 +01:00
tests_cmocka.c Revert "pthreadpool: test cancelling and freeing pending pthreadpool_tevent jobs/pools" 2019-01-11 23:11:14 +01:00
tests.c lib/pthreadpool: cppcheck: Fix Memory leak 2019-06-04 22:13:07 +00:00
wscript_build pthreadpool: Only link pthreadpool against librt if we have to 2019-09-25 15:39:40 +00:00