Tor 0.4.9.0-alpha-dev
lock Directory Reference

lib/lock: Simple locking support.

More...

Files

file  compat_mutex.c [code]
 Portable wrapper for platform mutex implementations.
 
file  compat_mutex.h [code]
 Header for compat_mutex.c.
 
file  compat_mutex_pthreads.c [code]
 Implement the tor_mutex API using pthread_mutex_t.
 
file  compat_mutex_winthreads.c [code]
 Implement the tor_mutex API using CRITICAL_SECTION.
 

Detailed Description

lib/lock: Simple locking support.

This module is more low-level than the rest of the threading code, since it is needed by more intermediate-level modules.