Pthread mutex assertion error

前端 未结 7 909
渐次进展
渐次进展 2020-12-24 05:50

I\'m encountering the following error at unpredictable times in a linux-based (arm) communications application:

pthread_mutex_lock.c:82: __pthread_mutex_lock         


        
7条回答
  •  粉色の甜心
    2020-12-24 06:25

    Rock solid for 4 days straight. I'm declaring victory on this one. The answer is "stupid user error" (see comments above). A mutex should only be unlocked by the thread that locked it. Thanks for bearing with me.

提交回复
热议问题