summaryrefslogtreecommitdiff
path: root/ot_sync.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2008-10-07 23:53:29 +0000
committerDirk Engling <erdgeist@erdgeist.org>2008-10-07 23:53:29 +0000
commit14f0a3ceea7f128cbe655d9e3f459d93c243de4d (patch)
tree5c1a01fee3cfb51634cf792c3ff976e7a5a2c5ce /ot_sync.c
parentaa7f40b77cf87bb5c3ad303f8739f0b1e78e2e85 (diff)
downloadopentracker-14f0a3ceea7f128cbe655d9e3f459d93c243de4d.tar.gz
opentracker-14f0a3ceea7f128cbe655d9e3f459d93c243de4d.zip
Reverting last commit. Debug effect not seen.
Diffstat (limited to 'ot_sync.c')
-rw-r--r--ot_sync.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ot_sync.c b/ot_sync.c
index 7cad20e..b804659 100644
--- a/ot_sync.c
+++ b/ot_sync.c
@@ -10,9 +10,6 @@
#include <stdio.h>
#include <string.h>
#include <pthread.h>
-#ifdef WANT_THREAD_NAME_NP
-#include <pthread_np.h>
-#endif
/* Libowfat */
#include "scan.h"
@@ -154,9 +151,6 @@ static void * sync_worker( void * args) {
static pthread_t thread_id;
void sync_init( ) {
pthread_create( &thread_id, NULL, sync_worker, NULL );
-#ifdef WANT_THREAD_NAME_NP
- pthread_set_name_np( thread_id, "opentracker (batchsync)");
-#endif
}
void sync_deinit( ) {
@@ -169,4 +163,4 @@ void sync_deliver( int64 socket ) {
#endif
-const char *g_version_sync_c = "$Source: /home/cvsroot/opentracker/ot_sync.c,v $: $Revision: 1.7 $\n";
+const char *g_version_sync_c = "$Source: /home/cvsroot/opentracker/ot_sync.c,v $: $Revision: 1.8 $\n";