Just like with _Swap(), we need two variants of these utilities which can atomically release a lock and context switch. The naming shifts (for byte count reasons) to _reschedule/_pend_curr, and both have an _irqlock variant which takes the traditional locking. Just refactoring. No logic changes. Signed-off-by: Andy Ross <andrew.j.ross@intel.com> |
||
|---|---|---|
| .. | ||
| clock.c | ||
| CMakeLists.txt | ||
| fs.c | ||
| Kconfig | ||
| mqueue.c | ||
| pthread_barrier.c | ||
| pthread_common.c | ||
| pthread_cond.c | ||
| pthread_key.c | ||
| pthread_mutex.c | ||
| pthread_rwlock.c | ||
| pthread_sched.c | ||
| pthread.c | ||
| semaphore.c | ||
| sleep.c | ||
| timer.c | ||