| Trees | Indices | Help |
|
|---|
|
|
Class target for easy multithreading access to variables (in list).
You create instance of this class and can from any thread easy access to you variables by index (as in dictionary). Example:
LOCK = lock_list(10) LOCK[3] = False val = LOCK[3]
All get, set and del for index key will be auto locked.
Note: Safe for multithreading.
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initialize instance.
|
Return value for index. If no such key then raise IndexError. |
Delete index key. If no such key then raise IndexError.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Sep 13 23:40:46 2019 | http://epydoc.sourceforge.net |