thread-and-timer-corrections-to-afscreds-20031121
authorJeffrey Altman <jaltman@grand.central.org>
Fri, 21 Nov 2003 18:33:10 +0000 (18:33 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 21 Nov 2003 18:33:10 +0000 (18:33 +0000)
commit803678a90033b54606337e033cff5393a92adb5a
tree12ede925848842780b14f56ed59fe16a34904990
parentdf95472c3aa809493802d3c61f733f8fc2f853e0
thread-and-timer-corrections-to-afscreds-20031121

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.
src/WINNT/client_creds/afscreds.h
src/WINNT/client_creds/creds.cpp
src/WINNT/client_creds/creds.h
src/WINNT/client_creds/credstab.cpp
src/WINNT/client_creds/main.cpp
src/WINNT/client_creds/mounttab.cpp
src/WINNT/client_creds/resource.h
src/WINNT/client_creds/shortcut.cpp
src/WINNT/client_creds/shortcut.h
src/WINNT/client_creds/trayicon.cpp
src/WINNT/client_creds/window.cpp