Fixing GIL deadlock caused by not releasing the GIL prior to spawning threads to compute ImagePlug::image() in parallel. A spawned thread might need to reenter into python, so if the main thread has not released the GIL then deadlock ensues. This fixes hangs which were appearing when viewing the Display node.
Fixing GIL deadlock caused by not releasing the GIL prior to spawning threads to compute ImagePlug::image() in parallel. A spawned thread might need to reenter into python, so if the main thread has not released the GIL then deadlock ensues. This fixes hangs which were appearing when viewing the Display node.


goddardl/gaffer,davidsminor/gaffer,lucienfostier/gaffer,chippey/gaffer,goddardl/gaffer,GafferHQ/gaffer,andrewkaufman/gaffer,appleseedhq/gaffer,GafferHQ/gaffer,andrewkaufman/gaffer,ivanimanishi/gaffer,hradec/gaffer,johnhaddon/gaffer,ivanimanishi/gaffer,cedriclaunay/gaffer,GafferHQ/gaffer,johnhaddon/gaffer,johnhaddon/gaffer,andrewkaufman/gaffer,chippey/gaffer,paulondc/gaffer,boberfly/gaffer,paulondc/gaffer,paulondc/gaffer,cedriclaunay/gaffer,cedriclaunay/gaffer,hradec/gaffer,ivanimanishi/gaffer,goddardl/gaffer,hradec/gaffer,GafferHQ/gaffer,davidsminor/gaffer,lucienfostier/gaffer,cedriclaunay/gaffer,ivanimanishi/gaffer,lucienfostier/gaffer,boberfly/gaffer,lucienfostier/gaffer,boberfly/gaffer,GafferHQ/gaffer,ImageEngine/gaffer,johnhaddon/gaffer,davidsminor/gaffer,ImageEngine/gaffer,hradec/gaffer,davidsminor/gaffer,ImageEngine/gaffer,andrewkaufman/gaffer,andrewkaufman/gaffer,appleseedhq/gaffer,chippey/gaffer,appleseedhq/gaffer,paulondc/gaffer,ImageEngine/gaffer,chippey/gaffer,goddardl/gaffer,hradec/gaffer,appleseedhq/gaffer,johnhaddon/gaffer,boberfly/gaffer