Merge branch 'master' of xato:0517
This commit is contained in:
7
packages/python/#sc#
Normal file
7
packages/python/#sc#
Normal file
@@ -0,0 +1,7 @@
|
||||
PyThreadState *_save;
|
||||
|
||||
_save = PyThreadState_Swap(NULL);
|
||||
PyEval_ReleaseLock();
|
||||
...Do some blocking I/O operation...
|
||||
PyEval_AcquireLock();
|
||||
PyThreadState_Swap(_save);
|
Reference in New Issue
Block a user