summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-10-20 05:25:14 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-10-20 05:25:14 (GMT)
commit812f6e1f234f5a601202e81c78f7b172fe9a263a (patch)
tree1538a321ae6bbf3c9f16c13ab7b6e3ca3629e3d9 /Modules/socketmodule.c
parent25a19247581d512b79e0f2a3e1bdaf56aaa92b6d (diff)
parent94332cba0f0a020f35590f1c2da23a579e3e9f3a (diff)
downloadcpython-812f6e1f234f5a601202e81c78f7b172fe9a263a.zip
cpython-812f6e1f234f5a601202e81c78f7b172fe9a263a.tar.gz
cpython-812f6e1f234f5a601202e81c78f7b172fe9a263a.tar.bz2
Issue #28480: Merge multithreading fixes from 3.6
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 2818bed..532a6e8 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -664,6 +664,7 @@ internal_setblocking(PySocketSockObject *s, int block)
result = 0;
done:
+ ; /* necessary for --without-threads flag */
Py_END_ALLOW_THREADS
if (result) {