diff options
| author | Ken Raeburn <raeburn@mit.edu> | 2004-07-02 22:16:56 +0000 |
|---|---|---|
| committer | Ken Raeburn <raeburn@mit.edu> | 2004-07-02 22:16:56 +0000 |
| commit | e7ed3790a13403db63d7f255c8266222c7fafa23 (patch) | |
| tree | 6b1d13742fdd85a2c86b208a63ef6ad5b8a1388f /src/include/socket-utils.h | |
| parent | bd3f19cf183420d81bf718d680448a74710e609e (diff) | |
* k5-thread.h: Restructured mutex code.
(k5_debug_loc): New type, may contain file/line info if DEBUG_THREADS_LOC is
defined.
(k5_os_nothread_*): Dummy implementation of mutex lock for a single-threded
process. Uses a flag and assert() if DEBUG_THREADS is defined, does nothing
interesting otherwise.
(k5_os_mutex*, k5_once*): General implementations, with dummy or POSIX or
POSIX-if-loaded-otherwise-dummy variants.
(k5_mutex_*): Combine OS-specific mutex implementation with optional file/line
tracking, and provide a place to instrument for other debugging or performance
data.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16539 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/socket-utils.h')
0 files changed, 0 insertions, 0 deletions
