Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). pthread condition variables corrupt their waiter count when pthread cond signal/pthread cond broadcast are called without the mutex
The task
pthread condition variables corrupt their waiter count when pthread_cond_signal/pthread_cond_broadcast are called without the mutex
Part of henryen/OriGent-RL-Data.