synvageserver-no-rx-server-refs-20080401

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
This commit is contained in:
Tom Keiser 2008-04-01 15:09:54 +00:00 committed by Derrick Brashear
parent 4bcb7d01b2
commit 9bdb8599c0

View 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);