roadlabs / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

Remove GIL to avoid deadlocks when calling CEF functions #102

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In the pxd file, function needs to be defined as "nogil". In the pyx file the 
call must use the "with nogil" statement.

Original issue reported on code.google.com by czarek.t...@gmail.com on 8 Jan 2014 at 11:15

GoogleCodeExporter commented 9 years ago
Revision ec1ce788373b removes the GIL lock from the following calls: 
Initialize(), Shutdown(), CreateBrowserSync(), SetOsModalLoop(), 
QuitMessageLoop(), CefExecuteProcess().

Keeping this issue Open, as there still might be some functions from which the 
GIL lock should also be removed.

Original comment by czarek.t...@gmail.com on 8 Jan 2014 at 11:37