When a function is jitted with option nogil=True
, will all the routines it calls automatically release the gil?
from numba import njit
from numba.experimental import jitclass
@njit
def inner(...) ... # not explicitly releasing gil here
@jitclass
class Foo: # cannot config gil here
def bar(self)...
@njit(nogil=True)
def outter(...):
# Q: Will the gil holds during the following calls?
inner(...)
Foo().bar() ...
A question very similar to https://numba.discourse.group/t/nogil-with-jitclass/394