mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 16:00:12 +00:00
viced-set-fssync-threadid-20030304
set a thread id for the fssync callback thread
This commit is contained in:
parent
94d83a9941
commit
025ec7bf79
@ -421,6 +421,8 @@ static FsyncCheckLWP()
|
|||||||
#endif
|
#endif
|
||||||
ViceLog(1, ("Starting fsync check process\n"));
|
ViceLog(1, ("Starting fsync check process\n"));
|
||||||
|
|
||||||
|
setThreadId("FsyncCheckLWP");
|
||||||
|
|
||||||
#ifdef AFS_PTHREAD_ENV
|
#ifdef AFS_PTHREAD_ENV
|
||||||
assert(pthread_cond_init(&fsync_cond, NULL) == 0);
|
assert(pthread_cond_init(&fsync_cond, NULL) == 0);
|
||||||
assert(pthread_mutex_init(&fsync_glock_mutex, NULL) == 0);
|
assert(pthread_mutex_init(&fsync_glock_mutex, NULL) == 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user