As I mentioned in the title, when I try to join the threads, I get an error.
m_threadid : 4615464704, pthread_join error : Resource deadlock avoided, thread name : NetworkWorker
I was wondering what kind of situation it is and any suggestion on fixing this.
Thank you
This error (EDEADLK
) results when you have a closed loop of threads trying to join each other. In the simplest cases, this is either a thread calling pthread_join()
on itself, or two threads calling pthread_join()
on each other.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With