diff options
author | erdgeist <> | 2008-10-07 23:53:29 +0000 |
---|---|---|
committer | erdgeist <> | 2008-10-07 23:53:29 +0000 |
commit | 0deb06d5442d4d65cf4251428d5977396cfbf023 (patch) | |
tree | a2543bb89a30942b824030971672fbe12603beca /ot_sync.c | |
parent | 0f271421c3d44e3067087ab6bccf5dbbe964a977 (diff) |
Reverting last commit. Debug effect not seen.
Diffstat (limited to 'ot_sync.c')
-rw-r--r-- | ot_sync.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -10,9 +10,6 @@ | |||
10 | #include <stdio.h> | 10 | #include <stdio.h> |
11 | #include <string.h> | 11 | #include <string.h> |
12 | #include <pthread.h> | 12 | #include <pthread.h> |
13 | #ifdef WANT_THREAD_NAME_NP | ||
14 | #include <pthread_np.h> | ||
15 | #endif | ||
16 | 13 | ||
17 | /* Libowfat */ | 14 | /* Libowfat */ |
18 | #include "scan.h" | 15 | #include "scan.h" |
@@ -154,9 +151,6 @@ static void * sync_worker( void * args) { | |||
154 | static pthread_t thread_id; | 151 | static pthread_t thread_id; |
155 | void sync_init( ) { | 152 | void sync_init( ) { |
156 | pthread_create( &thread_id, NULL, sync_worker, NULL ); | 153 | pthread_create( &thread_id, NULL, sync_worker, NULL ); |
157 | #ifdef WANT_THREAD_NAME_NP | ||
158 | pthread_set_name_np( thread_id, "opentracker (batchsync)"); | ||
159 | #endif | ||
160 | } | 154 | } |
161 | 155 | ||
162 | void sync_deinit( ) { | 156 | void sync_deinit( ) { |