I have read that Windows 3.11 uses cooperative multitasking, which means that the OS does not do process scheduling whenever it wants, but rather the currently running process "yield" the execution to the OS whenever the process wants, and then the OS chooses the next process to run.
But what I want to know is what is this "yield" functionality, is it a Windows API function that a process must call in multiple places in the process's code?