Download RadiSys ARTIC960 Programmer`s Reference

Transcript
SuspendProcess—Suspend a Process
SuspendProcess—Suspend a Process
This service suspends a process. It is taken off the dispatch queue and its process state is
set to SUSPENDED.
Functional Prototype
RIC_ULONG SuspendProcess (RIC_PROCESSID
RIC_ULONG
ProcessID,
Reserved);
Parameters
ProcessID
Input. Process ID of the process that is to be suspended. A value of 0 means
the calling process is suspending itself.
Reserved
Input. Reserved parameter (must be 0).
Returns
RC_SUCCESS
RC_INVALID_RESERVED_PARM
RC_PROCESS_NOT_STARTED
RC_INVALID_PROCESSID
RC_DEVICE_DRIVER
RC_INVALID_CALL
Remarks
None
Chapter 3: Base Kernel Services
39