viced-set-fssync-threadid-20030304

set a thread id for the fssync callback thread
This commit is contained in:
Harald Barth 2003-03-04 14:46:04 +00:00 committed by Derrick Brashear
parent 94d83a9941
commit 025ec7bf79

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