'Release the acquired GIL by gil_ensure().
Must be paired with a gil_ensure().'

def gil_release(self, gil):

    gilptrty = Type.pointer(self.gil_state)
    fnty = Type.function(Type.void(), [gilptrty])
    fn = self._get_function(fnty, 'numba_gil_release')
    return self.builder.call(fn, [gil])
