Tor 0.4.9.3-alpha-dev
Loading...
Searching...
No Matches
thread Directory Reference

lib/thread: Mid-level threading.

More...

Files

 compat_pthreads.c
 Implementation for the pthreads-based multithreading backend functions.
 
 compat_threads.c
 Cross-platform threading and inter-thread communication logic. (Platform-specific parts are written in the other compat_*threads modules.)
 
 compat_winthreads.c
 Implementation for the windows-based multithreading backend functions.
 
 numcpus.c
 Compute the number of CPUs configured on this system.
 
 numcpus.h
 Header for numcpus.c.
 
 thread_sys.h
 Declare subsystem object for threads library.
 
 threads.h
 Header for threads.c.
 

Detailed Description

lib/thread: Mid-level threading.

This module contains compatibility and convenience code for multithreading, except for low-level locks (which are in lib/lock and workqueue/threadpool code (which belongs in lib/evloop.)