Lines Matching refs:atomic_flag_works
1305 set_inheritable(int fd, int inheritable, int raise, int *atomic_flag_works) in set_inheritable() argument
1322 assert(!(atomic_flag_works != NULL && inheritable)); in set_inheritable()
1324 if (atomic_flag_works != NULL && !inheritable) { in set_inheritable()
1325 if (*atomic_flag_works == -1) { in set_inheritable()
1329 *atomic_flag_works = !isInheritable; in set_inheritable()
1332 if (*atomic_flag_works) in set_inheritable()
1463 _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable() argument
1465 return set_inheritable(fd, inheritable, 1, atomic_flag_works); in _Py_set_inheritable()
1472 _Py_set_inheritable_async_safe(int fd, int inheritable, int *atomic_flag_works) in _Py_set_inheritable_async_safe() argument
1474 return set_inheritable(fd, inheritable, 0, atomic_flag_works); in _Py_set_inheritable_async_safe()
1483 int *atomic_flag_works; in _Py_open_impl() local
1489 atomic_flag_works = &_Py_open_cloexec_works; in _Py_open_impl()
1492 atomic_flag_works = NULL; in _Py_open_impl()
1529 if (set_inheritable(fd, 0, gil_held, atomic_flag_works) < 0) { in _Py_open_impl()