mirror of
https://git.openafs.org/openafs.git
synced 2025-01-21 00:10:15 +00:00
Windows: cm_InitDaemon initialize cm_bkgQueueCountp[]
Change-Id: Ie4abd1c26d54208921a78e421b447a8f4fc5684a Reviewed-on: http://gerrit.openafs.org/7313 Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil> Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com> Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
parent
b750d82a84
commit
6b602e59af
@ -899,6 +899,7 @@ void cm_InitDaemon(int nDaemons)
|
||||
lock_InitializeRWLock(&cm_daemonLockp[i], "cm_daemonLock",
|
||||
LOCK_HIERARCHY_DAEMON_GLOBAL);
|
||||
cm_bkgListpp[i] = cm_bkgListEndpp[i] = NULL;
|
||||
cm_bkgQueueCountp[i]=0;
|
||||
pstatus = pthread_create(&phandle, &tattr, cm_BkgDaemon, (LPVOID)(LONG_PTR)i);
|
||||
osi_assertx(pstatus == 0, "cm_BkgDaemon thread creation failure");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user