Method
weakref_cb
(_,
thread_wakeup=self.thread_wakeup,
mp_util_debug=mp.util.debug)
Source from the content-addressed store, hash-verified
| 296 | # will wake up the queue management thread so that it can terminate |
| 297 | # if there is no pending work item. |
| 298 | def weakref_cb(_, |
| 299 | thread_wakeup=self.thread_wakeup, |
| 300 | mp_util_debug=mp.util.debug): |
| 301 | mp_util_debug('Executor collected: triggering callback for' |
| 302 | ' QueueManager wakeup') |
| 303 | thread_wakeup.wakeup() |
| 304 | |
| 305 | self.executor_reference = weakref.ref(executor, weakref_cb) |
| 306 | |
Callers
nothing calls this directly
Tested by
no test coverage detected