PREV UP NEXT StackThreads/MP: version 0.77 User's Guide

3.5: Yield

        void st_yield();

scheduled later. For most parallel programs, there should be no reasons why you have to deschedule a thread that is runnable. We discourage using this procedure to wait for a particular event to occur. In such circumstances, you have to suspend the thread and let another thread resume it when a condition is satisfied.