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_fullscrape.c | |
| parent | 0f271421c3d44e3067087ab6bccf5dbbe964a977 (diff) | |
Reverting last commit. Debug effect not seen.
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( ) { |
