These functions are used respectively to signal one thread or all threads. When multithreading is disabled, it's always the current thread which is signaled.