mirror of https://github.com/MagicStack/uvloop.git
win: Don't try to use pthread_atfork on Windows
This commit is contained in:
parent
5809486d02
commit
fe0787f987
|
@ -2743,6 +2743,10 @@ cdef void __atfork_child() nogil:
|
|||
|
||||
cdef __install_atfork():
|
||||
global __atfork_installed
|
||||
|
||||
IF UNAME_SYSNAME == "Windows":
|
||||
return
|
||||
|
||||
if __atfork_installed:
|
||||
return
|
||||
__atfork_installed = 1
|
||||
|
|
Loading…
Reference in New Issue