Reverting last commit. Debug effect not seen.

dynamic-accesslists
erdgeist 16 years ago
parent 0f271421c3
commit 0deb06d544

@ -29,7 +29,6 @@ BINDIR?=$(PREFIX)/bin
#FEATURES+=-DWANT_IP_FROM_QUERY_STRING #FEATURES+=-DWANT_IP_FROM_QUERY_STRING
#FEATURES+=-DWANT_COMPRESSION_GZIP #FEATURES+=-DWANT_COMPRESSION_GZIP
#FEATURES+=-DWANT_LOG_NETWORKS #FEATURES+=-DWANT_LOG_NETWORKS
#FEATURES+=-DWANT_THREAD_NAME_NP
#FEATURES+=-D_DEBUG_HTTPERROR #FEATURES+=-D_DEBUG_HTTPERROR
FEATURES+=-DWANT_FULLSCRAPE FEATURES+=-DWANT_FULLSCRAPE

@ -8,9 +8,6 @@
#include <string.h> #include <string.h>
#include <pthread.h> #include <pthread.h>
#include <sys/uio.h> #include <sys/uio.h>
#ifdef WANT_THREAD_NAME_NP
#include <pthread_np.h>
#endif
/* Libowfat */ /* Libowfat */
#include "byte.h" #include "byte.h"
@ -129,9 +126,6 @@ void clean_all_torrents( ) {
static pthread_t thread_id; static pthread_t thread_id;
void clean_init( void ) { void clean_init( void ) {
pthread_create( &thread_id, NULL, clean_worker, NULL ); pthread_create( &thread_id, NULL, clean_worker, NULL );
#ifdef WANT_THREAD_NAME_NP
pthread_set_name_np( thread_id, "opentracker (cleanup)");
#endif
} }
void clean_deinit( void ) { void clean_deinit( void ) {

@ -15,9 +15,6 @@
#ifdef WANT_COMPRESSION_GZIP #ifdef WANT_COMPRESSION_GZIP
#include <zlib.h> #include <zlib.h>
#endif #endif
#ifdef WANT_THREAD_NAME_NP
#include <pthread_np.h>
#endif
/* Libowfat */ /* Libowfat */
#include "byte.h" #include "byte.h"
@ -76,9 +73,6 @@ static void * fullscrape_worker( void * args ) {
static pthread_t thread_id; static pthread_t thread_id;
void fullscrape_init( ) { void fullscrape_init( ) {
pthread_create( &thread_id, NULL, fullscrape_worker, NULL ); pthread_create( &thread_id, NULL, fullscrape_worker, NULL );
#ifdef WANT_THREAD_NAME_NP
pthread_set_name_np( thread_id, "opentracker (fullscrape)");
#endif
} }
void fullscrape_deinit( ) { void fullscrape_deinit( ) {

@ -8,9 +8,6 @@
#include <sys/uio.h> #include <sys/uio.h>
#include <string.h> #include <string.h>
#include <pthread.h> #include <pthread.h>
#ifdef WANT_THREAD_NAME_NP
#include <pthread_np.h>
#endif
/* Libowfat */ /* Libowfat */
#include "socket.h" #include "socket.h"
@ -56,9 +53,6 @@ void livesync_init( ) {
livesync_lastpacket_time = g_now; livesync_lastpacket_time = g_now;
pthread_create( &thread_id, NULL, livesync_worker, NULL ); pthread_create( &thread_id, NULL, livesync_worker, NULL );
#ifdef WANT_THREAD_NAME_NP
pthread_set_name_np( thread_id, "opentracker (livesync)");
#endif
} }
void livesync_deinit() { void livesync_deinit() {

@ -10,9 +10,6 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <pthread.h> #include <pthread.h>
#ifdef WANT_THREAD_NAME_NP
#include <pthread_np.h>
#endif
/* Libowfat */ /* Libowfat */
#include "scan.h" #include "scan.h"
@ -154,9 +151,6 @@ static void * sync_worker( void * args) {
static pthread_t thread_id; static pthread_t thread_id;
void sync_init( ) { void sync_init( ) {
pthread_create( &thread_id, NULL, sync_worker, NULL ); 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( ) { void sync_deinit( ) {

Loading…
Cancel
Save