Luna::yield_current_thread

void yield_current_thread()

Yields the remain time slice of the current thread and let OS to schedule other threads.

There is no way to resume a thread from user mode, since threads are scheduled by OS automatically.