synvageserver-no-rx-server-refs-20080401
authorTom Keiser <tkeiser@sinenomine.net>
Tue, 1 Apr 2008 15:09:54 +0000 (15:09 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 1 Apr 2008 15:09:54 +0000 (15:09 +0000)
LICENSE IPL10
FIXES 92648

remove reference to rx service mutex and thread tracking. we need to ensure there's nothing else either but this is true now

src/vol/salvsync-server.c

index b28a42f..6de28b8 100644 (file)
@@ -317,13 +317,6 @@ SALVSYNC_syncThread(void * args)
     (void)signal(SIGPIPE, SIG_IGN);
 #endif
 
-    /* set our 'thread-id' so that the host hold table works */
-    MUTEX_ENTER(&rx_stats_mutex);      /* protects rxi_pthread_hinum */
-    tid = ++rxi_pthread_hinum;
-    MUTEX_EXIT(&rx_stats_mutex);
-    pthread_setspecific(rx_thread_id_key, (void *)tid);
-    Log("Set thread id %d for SALVSYNC_syncThread\n", tid);
-
     state->fd = SYNC_getSock(&state->endpoint);
     code = SYNC_bindSock(state);
     assert(!code);