Opened 8 years ago

Closed 8 years ago

#6649 closed task (fixed)

Python bindings: release GIL

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 2.2.0
Component: PythonBindings Version: unspecified
Severity: normal Keywords:
Cc: antonio


This ticket is to track the effort of releasing the Global Interpreter Lock when going from Python to GDAL native code. And also for re-acquiring it when going from GDAL native code to Python through callbacks !

Change History (6)

comment:1 by Even Rouault, 8 years ago

r35418 Python bindings: release the GIL before entering GDAL native code (for all, in GDAL module and a few ones in ogr like ogr.Open())

r35419 Regenerate Python bindings

r35420 Python bindings: fixes for previous commit related to callbacks, error handlers, numpy code

comment:2 by antonio, 8 years ago

Cc: antonio added

comment:3 by Even Rouault, 8 years ago

In 35522:

Commit update of swig/python/GNUmakefile to include -threads (refs #6649)

comment:4 by Even Rouault, 8 years ago

Note: this change revealed an incompatiblity with Rasterio, with a potential fix submitted as

comment:5 by Even Rouault, 8 years ago has been merged into rasterio master

comment:6 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.