OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 24 Dec 2007 00:24:15 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/WINNT/afsd

Modified Files:
      Tag: openafs-devel-1_5_x
	afsd_init.c cm_daemon.c cm_daemon.h 
Log Message:
DELTA DEVEL15-windows-daemon-threads-shutdown-sync-20071223
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Windows Error Reporting received crashes caused by a failure to synchronize
the shutdown of the AFS client service with the background daemon threads.
The daemon threads (cm_Daemon, cm_BkgDaemon+, cm_IPAddrDaemon) could be
accessing data structures as they were being freed or unmapped.

Add synchronization mechanisms to signal the termination of the threads
with the shutdown of the service.



--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-daemon-threads-shutdown-sync-20071223 openafs/src/WINNT/afsd/afsd_init.c 1.79.2.22 1.79.2.23
DEVEL15-windows-daemon-threads-shutdown-sync-20071223 openafs/src/WINNT/afsd/cm_daemon.c 1.16.4.20 1.16.4.21
DEVEL15-windows-daemon-threads-shutdown-sync-20071223 openafs/src/WINNT/afsd/cm_daemon.h 1.4.4.2 1.4.4.3