Searched refs:after_in_child (Results 1 - 7 of 7) sorted by relevance
/third_party/python/Lib/concurrent/futures/ |
H A D | thread.py | 42 after_in_child=_global_shutdown_lock._at_fork_reinit, variable
|
/third_party/python/Lib/ |
H A D | random.py | 900 _os.register_at_fork(after_in_child=_inst.seed)
|
H A D | threading.py | 1661 _os.register_at_fork(after_in_child=_after_fork)
|
/third_party/python/Lib/test/ |
H A D | test_posix.py | 222 os.register_at_fork(after_in_child="three") 228 os.register_at_fork(after_in_child=None) 236 os.register_at_fork(before=lambda: None, after_in_child='') 247 os.register_at_fork(after_in_child=lambda: os.write(w, b'E')) 250 after_in_child=lambda: os.write(w, b'F'))
|
/third_party/python/Modules/ |
H A D | posixmodule.c | 6769 after_in_child: object=NULL 6777 'after_in_child' and 'after_in_parent' callbacks are called in order. 6783 PyObject *after_in_child, PyObject *after_in_parent) in os_register_at_fork_impl() 6788 if (!before && !after_in_child && !after_in_parent) { in os_register_at_fork_impl() 6793 check_null_or_callable(after_in_child, "after_in_child") || in os_register_at_fork_impl() 6802 if (register_at_forker(&interp->after_forkers_child, after_in_child)) { in os_register_at_fork_impl() 6782 os_register_at_fork_impl(PyObject *module, PyObject *before, PyObject *after_in_child, PyObject *after_in_parent) os_register_at_fork_impl() argument
|
/third_party/python/Modules/clinic/ |
H A D | posixmodule.c.h | 2588 " after_in_child=<unrepresentable>,\n" 2596 " after_in_child\n" 2602 "\'after_in_child\' and \'after_in_parent\' callbacks are called in order."); 2609 PyObject *after_in_child, PyObject *after_in_parent); 2615 static const char * const _keywords[] = {"before", "after_in_child", "after_in_parent", NULL}; in os_register_at_fork() 2620 PyObject *after_in_child = NULL; in os_register_at_fork() local 2637 after_in_child = args[1]; in os_register_at_fork() 2644 return_value = os_register_at_fork_impl(module, before, after_in_child, after_in_parent); in os_register_at_fork()
|
/third_party/python/Lib/logging/ |
H A D | __init__.py | 272 after_in_child=_after_at_fork_child_reinit_locks,
|
Completed in 35 milliseconds