PA_YieldAbsolute


version 2003


PA_YieldAbsolute

Parameter Type Description
This command does not require any parameters

Description

The routine PA_YieldAbsolute tells the 4D scheduler to execute one time-slice of all other running processes even though one 60 th of a second may not have elapsed since the last scheduler execution cycle.

PA_YieldAbsolute

must be called repeatedly (at least three times) at the beginning of external process code.

Another usual situation where PA_YieldAbsolute is required is when interprocess communications are performed between a 4D Plug-in and another process. No matter which is used to "send a message to another process" and then "wait for a reply", it is faster to call PA_YieldAbsolute than PA_Yield in the waiting loop.

See Also

PA_NewProcess , PA_Yield .

Error Handling

PA_GetLastError

always returns eER_NoErr