viced-set-fssync-threadid-20030304
authorHarald Barth <haba@pdc.kth.se>
Tue, 4 Mar 2003 14:46:04 +0000 (14:46 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 4 Mar 2003 14:46:04 +0000 (14:46 +0000)
set a thread id for the fssync callback thread

src/viced/viced.c

index efc1528..c209c6e 100644 (file)
@@ -421,6 +421,8 @@ static FsyncCheckLWP()
 #endif
     ViceLog(1, ("Starting fsync check process\n"));
 
+    setThreadId("FsyncCheckLWP");
+
 #ifdef AFS_PTHREAD_ENV
     assert(pthread_cond_init(&fsync_cond, NULL) == 0);
     assert(pthread_mutex_init(&fsync_glock_mutex, NULL) == 0);