Author: Brian Kearns <[email protected]>
Branch:
Changeset: r70877:7185ae6c5812
Date: 2014-04-22 15:46 -0700
http://bitbucket.org/pypy/pypy/changeset/7185ae6c5812/
Log: don't release gil for WSAGetLastError()
diff --git a/rpython/rlib/_rsocket_rffi.py b/rpython/rlib/_rsocket_rffi.py
--- a/rpython/rlib/_rsocket_rffi.py
+++ b/rpython/rlib/_rsocket_rffi.py
@@ -626,7 +626,7 @@
WSAStartup = external('WSAStartup', [rwin32.WORD, lltype.Ptr(WSAData)],
rffi.INT)
- WSAGetLastError = external('WSAGetLastError', [], rffi.INT)
+ WSAGetLastError = external('WSAGetLastError', [], rffi.INT,
releasegil=False)
geterrno = WSAGetLastError
# In tests, the first call to GetLastError is always wrong, because error
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit