diff options
Diffstat (limited to 'ot_fullscrape.c')
-rw-r--r-- | ot_fullscrape.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ot_fullscrape.c b/ot_fullscrape.c index cab619b..abd8cee 100644 --- a/ot_fullscrape.c +++ b/ot_fullscrape.c | |||
@@ -15,9 +15,6 @@ | |||
15 | #ifdef WANT_COMPRESSION_GZIP | 15 | #ifdef WANT_COMPRESSION_GZIP |
16 | #include <zlib.h> | 16 | #include <zlib.h> |
17 | #endif | 17 | #endif |
18 | #ifdef WANT_THREAD_NAME_NP | ||
19 | #include <pthread_np.h> | ||
20 | #endif | ||
21 | 18 | ||
22 | /* Libowfat */ | 19 | /* Libowfat */ |
23 | #include "byte.h" | 20 | #include "byte.h" |
@@ -76,9 +73,6 @@ static void * fullscrape_worker( void * args ) { | |||
76 | static pthread_t thread_id; | 73 | static pthread_t thread_id; |
77 | void fullscrape_init( ) { | 74 | void fullscrape_init( ) { |
78 | pthread_create( &thread_id, NULL, fullscrape_worker, NULL ); | 75 | pthread_create( &thread_id, NULL, fullscrape_worker, NULL ); |
79 | #ifdef WANT_THREAD_NAME_NP | ||
80 | pthread_set_name_np( thread_id, "opentracker (fullscrape)"); | ||
81 | #endif | ||
82 | } | 76 | } |
83 | 77 | ||
84 | void fullscrape_deinit( ) { | 78 | void fullscrape_deinit( ) { |