| 50 | } while (0) |
| 51 | |
| 52 | void __OSUnlockAllMutex(OSThread* thread) |
| 53 | { |
| 54 | OSMutex* mutex; |
| 55 | |
| 56 | while (thread->queueMutex.head) |
| 57 | { |
| 58 | PopHead(&thread->queueMutex, mutex, link); |
| 59 | mutex->count = 0; |
| 60 | mutex->thread = NULL; |
| 61 | OSWakeupThread(&mutex->queue); |
| 62 | } |
| 63 | } |
no test coverage detected