HPlogo Process Management Programmer's Guide: 900 Series HP 3000 Computer Systems > Chapter 2 Process Management Tasks

Delaying a Process

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

Your program can call the PAUSE intrinsic to delay its own execution. The PAUSE intrinsic places the process in a suspended state. and keeps it there for the number of seconds you specify in the interval parameter. At the end of the specified interval, the process re-enters an active state. The maximum interval allowed is approximately 2,147,484 seconds (almost 25 days).

The following is an example of a PAUSE intrinsic call:


   PAUSE (INTERVAL);

INTERVAL specifies the length of time, in seconds, that you want the process to remain suspended. MPE/iX resumes execution with the statement following the PAUSE intrinsic call.

Feedback to webmaster