You can pause the execution of a program by calling the proctal_pause function. It takes a handle as argument.
Check the Error handling page to
learn how to deal with an error.
To resume execution you must call the proctal_resume function. It takes a handle as argument.
You must only call proctal_resume after having
successfully called proctal_pause otherwise behavior is
Closing a handle while the program is paused results in undefined behavior.
You may call other functions on the handle while the program is paused.
Calling proctal_pause again without calling proctal_resume beforehand results in undefined behavior.