Commit 6388cf7b authored by Committed by Chad VersaceBrowse files
Add threads.py which defines a synchronization decorator that will be used for multithreaded synchronized access to critical sections. Also defines a ThreadPools singleton that manages named ThreadPool instances. A ThreadPool instance named 'base' is created by default with one worker thread. New uniquely named ThreadPool instances can be created with a configurable number of worker threads.
Showing with 75 additions and 0 deletions