mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
Add comment about serverlog locking
The lock protects global state such as the logging FD and the syslog-related variables. Change-Id: I5ea1b6945c10047da14d35b948a6a0ea53b55add Reviewed-on: https://gerrit.openafs.org/12123 Reviewed-by: Benjamin Kaduk <kaduk@mit.edu> Tested-by: BuildBot <buildbot@rampaginggeek.com>
This commit is contained in:
parent
a8c9997e93
commit
4bfb874d19
@ -62,6 +62,8 @@ dummyThreadNum(void)
|
||||
}
|
||||
static int (*threadNumProgram) (void) = dummyThreadNum;
|
||||
|
||||
/* After single-threaded startup, accesses to serverlogFD and
|
||||
* serverLogSyslog* are protected by LOCK_SERVERLOG(). */
|
||||
static int serverLogFD = -1;
|
||||
|
||||
#ifndef AFS_NT40_ENV
|
||||
|
Loading…
x
Reference in New Issue
Block a user