()
| 115 | |
| 116 | |
| 117 | def setThreadLock(): |
| 118 | if th.thread_mode: |
| 119 | th.found_count_lock = threading.Lock() |
| 120 | th.scan_count_lock = threading.Lock() |
| 121 | th.thread_count_lock = threading.Lock() |
| 122 | th.file_lock = threading.Lock() |
| 123 | th.load_lock = threading.Lock() |
| 124 | |
| 125 | |
| 126 | def setThreadDaemon(thread): |