]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
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 efc15286a00a0e6d617934b71897a210e1527112..c209c6e14bcfdb495f8165d1d06af5980c09cb44 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);