Threadlib refactoring, phase 2.

This is a near-total reorganization.  Full details will appear in
doc/devel/threads when that document is completed.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1257 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2003-09-23 16:33:50 +00:00
parent c14c2b010d
commit e94b959c9d
27 changed files with 309 additions and 290 deletions
+33
View File
@@ -0,0 +1,33 @@
The UQM Threading and Synchronization library
This document is woefully incomplete at the moment. It will be filled
in later. It's just that the ChangeLog refers to it so I want the
file to be here. --Michael
#defines
NAMED_SYNCHRO: When #defined, all synchronization objects are named.
This should be kept on all the time, at least until 1.0.
TRACK_CONTENTION: implies NAMED_SYNCHRO. Spits out status messages
whenever a thread goes to sleep because of an object matching
TRACK_CONTENTION_CLASSES.
TRACK_CONTENTION_CLASSES: This is an ORring of enums defined in
threadlib.h.
Constructs
- Task
- Thread
- ThreadLocal
- Mutex
- Semaphore
- CondVar
- RecursiveMutex