kernel/include/ksched.h
/* unpend the first thread from a wait queue */
/* must be called with interrupts locked */
unpend the first thread from a wait queue
must be called with interrupts locked
unpend the first thread from a wait queue must be called with interrupts locked
static inline struct k_thread *_unpend_first_thread(_wait_q_t *wait_q)
{
	struct k_thread *thread = _find_first_thread_to_unpend(wait_q, NULL);
	if (thread) {
		_unpend_thread(thread);
	}
	return thread;
}
static inline struct k_thread * _unpend_first_thread ( _wait_q_t * wait_q ) { struct k_thread * thread = _find_first_thread_to_unpend ( wait_q , NULL ) ; if ( thread ) { _unpend_thread ( thread ) ; } return thread ; }
unpend the first thread from a wait queue
must be called with interrupts locked
unpend the first thread from a wait queue must be called with interrupts locked