• U. Artie Eoff's avatar
    Add threads.py · 6388cf7b
    U. Artie Eoff authored
    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.
    6388cf7b
threads.py 2.53 KB