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_clean.c | |
| parent | 0f271421c3d44e3067087ab6bccf5dbbe964a977 (diff) | |
Reverting last commit. Debug effect not seen.
Diffstat (limited to 'ot_clean.c')
| -rw-r--r-- | ot_clean.c | 6 |
1 files changed, 0 insertions, 6 deletions
| @@ -8,9 +8,6 @@ | |||
| 8 | #include <string.h> | 8 | #include <string.h> |
| 9 | #include <pthread.h> | 9 | #include <pthread.h> |
| 10 | #include <sys/uio.h> | 10 | #include <sys/uio.h> |
| 11 | #ifdef WANT_THREAD_NAME_NP | ||
| 12 | #include <pthread_np.h> | ||
| 13 | #endif | ||
| 14 | 11 | ||
| 15 | /* Libowfat */ | 12 | /* Libowfat */ |
| 16 | #include "byte.h" | 13 | #include "byte.h" |
| @@ -129,9 +126,6 @@ void clean_all_torrents( ) { | |||
| 129 | static pthread_t thread_id; | 126 | static pthread_t thread_id; |
| 130 | void clean_init( void ) { | 127 | void clean_init( void ) { |
| 131 | pthread_create( &thread_id, NULL, clean_worker, NULL ); | 128 | pthread_create( &thread_id, NULL, clean_worker, NULL ); |
| 132 | #ifdef WANT_THREAD_NAME_NP | ||
| 133 | pthread_set_name_np( thread_id, "opentracker (cleanup)"); | ||
| 134 | #endif | ||
| 135 | } | 129 | } |
| 136 | 130 | ||
| 137 | void clean_deinit( void ) { | 131 | void clean_deinit( void ) { |
