Module Import alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If BinOpBitXor CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore ListComp Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad comprehension NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign AttributeStore NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If BinOpBitXor CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Raise Call NameLoad Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword TupleLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults vararg kwarg body For NameStore Call NameLoad BinOpAdd Call NameLoad NameLoad Call AttributeLoad NameLoad attr body If BoolOpAnd Call NameLoad NameLoad Str NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad NameLoad For NameStore Call NameLoad BinOpAdd Call NameLoad NameLoad Call AttributeLoad NameLoad attr body If BoolOpAnd Call NameLoad NameLoad Str NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list Return NameLoad decorator_list
N/A N/A threading thread LockType __monitor N/A N/A interrupt halt N/A N/A N/A  @brief Waits for interrupt, then sets halt to 1
        @param interrupt threading.Event on which we wait
        @param halt ctypes.c_int used as a flag elsewhere
     N/A N/A N/A interrupt wait N/A N/A halt value 1 N/A multithread N/A N/A target args interrupt halt N/A None None N/A N/A  @brief Runs a process on multiple threads.
        @details Must be called with both interrupt and halt or neither.  Interrupt is cleared before returning.
        @param target Callable function
        @param args List of argument tuples (one tuple per thread)
        @param interrupt threading.Event to halt thread or None
        @param halt ctypes.c_int used as an interrupt flag by target
     N/A N/A N/A halt None N/A interrupt None N/A N/A N/A ValueError multithread must be invoked with both halt and interrupt (or neither) N/A threads N/A N/A N/A threading Thread target target args a N/A a args N/A interrupt N/A N/A m N/A N/A threading Thread target __monitor args N/A interrupt halt N/A N/A m daemon True N/A N/A N/A m start N/A t threads N/A N/A N/A t daemon True N/A t threads N/A N/A N/A N/A t start N/A t threads N/A N/A N/A N/A t join N/A interrupt N/A N/A N/A N/A interrupt set N/A N/A N/A m join N/A N/A N/A interrupt clear N/A monothread N/A N/A target args interrupt halt N/A None None N/A N/A  @brief Runs a process on a single thread
        @details Must be called with both interrupt and halt or neither.  Interrupt is cleared before returning.
        @param target Callable function
        @param args Argument tuples
        @param interrupt threading.Event to halt thread or None
        @param halt ctypes.c_int used as an interrupt flag by target
     N/A N/A N/A halt None N/A interrupt None N/A N/A N/A ValueError monothread must be invoked with both halt and interrupt (or neither) N/A interrupt N/A N/A m N/A N/A threading Thread target __monitor args N/A interrupt halt N/A N/A m daemon True N/A N/A N/A m start N/A result N/A target args N/A interrupt N/A N/A N/A N/A interrupt set N/A N/A N/A m join N/A N/A N/A interrupt clear N/A result N/A threadsafe N/A N/A f N/A N/A N/A  A decorator that locks the arguments to a function,
        invokes the function, then unlocks the arguments and
        returns. wrapped N/A N/A N/A args kwargs N/A N/A a N/A set N/A N/A list args N/A N/A kwargs values N/A N/A N/A N/A hasattr a lock LockType N/A isinstance N/A a lock LockType N/A N/A N/A N/A N/A a lock acquire N/A result N/A f args kwargs N/A a N/A set N/A N/A list args N/A N/A kwargs values N/A N/A N/A N/A hasattr a lock LockType N/A isinstance N/A a lock LockType N/A N/A N/A N/A N/A a lock release N/A result N/A N/A wrapped N/A