when I used cuGraphicsEGLRegisterImage() in multi thread. Every thread I have to init some buffer,It would crash with the log: pthread_mutex_lock.c:349: __pthread_mutex_lock_full: Assertion `INTERNAL_SYSCALL_ERRNO (e, __err) != EDEADLK || (kind != PTHREAD_MUTEX_ERRORCHECK_NP && kind != PTHREAD_MUTEX_RECURSIVE_NP)’ failed.
or it would stuck. if not error occur, you’d better run some times.
if I don’t init buffer, it will run ok.
the demo is in the attachment. you should change the camera url yourself.
test.tar.gz (8.29 KB)