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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 21 Nov 2003 13:33:10 EST


Update of /cvs/openafs/src/WINNT/client_creds
In directory GRAND.CENTRAL.ORG:/tmp/cvs-serv30530

Modified Files:
	afscreds.h creds.cpp creds.h credstab.cpp main.cpp 
	mounttab.cpp resource.h shortcut.cpp shortcut.h trayicon.cpp 
	window.cpp 
Log Message:
DELTA  thread-and-timer-corrections-to-afscreds-20031121
AUTHOR jaltman@grand.central.org

Changes to afscreds to place the obtain tokens dialog into a separate
thread to prevent blocking of the Windows Message queue.  Requires 
utilization of mutex semaphores to protect credential data structures.

Previous versions of afscreds would set/unset the timer event every
time the program received an event indicating user activity including
dragging the mouse across the systemtray icon.  This resulted in 
extremely unpredictable behavior.  Now the timer event is only turned
off when it must be turned off; and turned on when it must be turned on.
The result is a credential expiration check once a minute.





--- DELTA config follows ---
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/afscreds.h 1.3 1.4
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/creds.cpp 1.2 1.3
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/creds.h 1.2 1.3
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/credstab.cpp 1.2 1.3
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/main.cpp 1.5 1.6
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/mounttab.cpp 1.3 1.4
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/resource.h 1.3 1.4
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/shortcut.cpp 1.3 1.4
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/shortcut.h 1.2 1.3
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/trayicon.cpp 1.2 1.3
thread-and-timer-corrections-to-afscreds-20031121 openafs/src/WINNT/client_creds/window.cpp 1.2 1.3