WAKE

WAKE

Top  Previous  Next

 

The WAKE statement awakens another process that has executed a PAUSE.

 

 

Format

 

WAKE user.no

 

where

 

user.nois the QM user number of the process to be awoken.

 

 

The WAKE statement resumes execution of another process that has executed a PAUSE statement.

 

If the WAKE is executed before the other process attempts to pause, the program is not suspended. Multiple wake events occurring in this way will only awaken the target process once.

 

The WAKE statement attempts to use an inter-process signalling mechanism to resume execution of the other process. Due to operating system limitations, this is usually only possible if both processes are running with the same user id. If this is not the case, the target process may take up to about a second to restart.