diff options
author | davidxu <davidxu@FreeBSD.org> | 2006-03-07 08:28:07 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2006-03-07 08:28:07 +0000 |
commit | 13fd270405b6f9fe2655df371b11bcae8b976c95 (patch) | |
tree | 32dd7b6f4eeded9a164d22570f864d7b56c28e9b /lib/librt/timer.c | |
parent | 712c56267911abd53a3e221fadce4ee9523011d3 (diff) | |
download | FreeBSD-src-13fd270405b6f9fe2655df371b11bcae8b976c95.zip FreeBSD-src-13fd270405b6f9fe2655df371b11bcae8b976c95.tar.gz |
1. Always call user callback function in newly created thread, it seems
POSIX implies that the user callback function must be executed in clean
environment.
2. Use newly introduced pthread stubs in libc.
Diffstat (limited to 'lib/librt/timer.c')
-rw-r--r-- | lib/librt/timer.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/librt/timer.c b/lib/librt/timer.c index 3db5f5b..4b50866 100644 --- a/lib/librt/timer.c +++ b/lib/librt/timer.c @@ -33,12 +33,10 @@ #include "namespace.h" #include <errno.h> -#include <pthread.h> #include <stddef.h> #include <signal.h> #include <stdlib.h> #include <time.h> -#include <unistd.h> #include "sigev_thread.h" #include "un-namespace.h" |