PA_KillProcess


version 2003


PA_KillProcess

Parameter Type Description
This command does not require any parameters

Description

Called at the very end of the source code implementing an external process, the routine PA_KillProcess notifies the 4D scheduler that the external process is terminating.

I MPORTANT NOTE

PA_KillProcess

is NOT the equivalent of the Abort button of the Runtime Explorer.

Calling this routine MUST be the last action performed by an external process that is terminating.

This call verifies that the 4D scheduler will be notified of the termination and will update its internal process table accordingly.

Example

See External processes for an example of use.

See Also

PA_NewProcess , PA_Yield , PA_YieldAbsolute .

Error Handling

PA_GetLastError

always returns eER_NoErr