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:
Jeffrey Altman 2012-05-02 17:47:46 -04:00 committed by Jeffrey Altman
parent b750d82a84
commit 6b602e59af

View File

@ -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");
}