nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

sched: change pthread_mutex implementation from sem to mutex

Open Gary-Hobson opened this issue 1 year ago • 1 comments

Summary

Since pthread_mutex is implemented by sem, it is impossible to see in ps who holds the lock and causes the wait. Replace semaphore with mutex implementation to solve the above problems

Impact

It depends on https://github.com/apache/nuttx/pull/13104

Testing

ostest & ltp

Gary-Hobson avatar Aug 22 '24 12:08 Gary-Hobson

Please check CI error

acassis avatar Aug 23 '24 19:08 acassis