Sign in Join
FPDoc Onlineexperiment

sched_yield procedure

In unit Linux

Yield the processor to another thread.

Declaration

pascal
procedure sched_yield

Description

sched_yield yields the processor to another thread. The current thread is put at the back of its queue. If there is only 1 thread in the application, the thread continues to run. The call always returns zero.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.