Hi,
We have met a problem in cudaEGL, when we create some threads to run some video streams and then add a thread to do this: frequently add and delete instance in thread, and we found the program would stuck in random. and we found the location would happen in function cuEGLStreamConsumerConnect and cuEGLStreamConsumerDisconnect.
We write a demo in attachment. and you can run with you local file. please change you file path in main function line 57 and line 88.
The bug may happen in a minute, or may be in 2~3 minutes, please check it patient.
Thanks.
testVideo_ConAndDisc.tar.gz (6.43 KB)