Merge branch 'master' of xato:0517

This commit is contained in:
Vitor Santos Costa
2017-05-19 10:03:49 +01:00
200 changed files with 176828 additions and 432 deletions

7
packages/python/#sc# Normal file
View File

@@ -0,0 +1,7 @@
PyThreadState *_save;
_save = PyThreadState_Swap(NULL);
PyEval_ReleaseLock();
...Do some blocking I/O operation...
PyEval_AcquireLock();
PyThreadState_Swap(_save);