![]() p4Interrupt() |
![]() DEVELOPER |
![]() |
p4Interrupt()
Abort Task Execution
Task Utility
Introduction
This function is of little practical use as all P4API calls are synchronous at this time.
The P4API p4Interrupt() function is used to abort execution of the currently running task in the kernel session identified by kernelSessionHandle.
BOOL p4CloseSystem (
SESSION_HANDLE_T kernelSessionHandle
);
Parameters
kernelSessionHandle
[in] The kernel-session-id for a PROIV Virtual Machine session, as returned by a prior call to p4OpenPro4().
Return Values
If no error occurs, p4Interrupt() returns TRUE. Otherwise, it returns a value of FALSE, and you can retrieve a specific error code by calling p4GetLastError().
Remarks
The p4Interrupt() function can be used to terminate a currently executing PROIV Task.
Topic ID: 540190