context: Switch done channel from chan() to -> chan(dtype='C.structZ')
C.structZ is empty structure and chan[C.structZ] can be used in pyx/nogil world. This way context tree initially created from Python can be extended in pyx/nogil and e.g. root context can be canceled from Python, which will correctly transfer the cancelation signal to pyx/nogil world too.
Showing
Please register or sign in to comment