![]() p4Interrupt() |
![]() DEVELOPER |
![]() |
Abort Task Execution
Task Utility
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
);
kernelSessionHandle
[in] The kernel-session-id for a PROIV Virtual Machine session, as returned by a prior call to p4OpenPro4().
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().
The p4Interrupt() function can be used to terminate a currently executing PROIV Task.
Topic ID: 540190