basic.%pause

C Function/BASIC Program, Releases: AP/Unix

Suspends calling process until signal received.

Syntax

(void)%pause()

Description

suspends the calling process until it receives a signal.

<BREAK>, <ESCAPE>, a logoff, a signal or a message sent by another process causes the process to resume execution. In case of a logoff, control is not returned to the Pick/BASIC program. This is equivalent to an infinite sleep. Only 'SIGUSR2' should be used to wake up a process waiting in '%pause'.

See Also

Command Name Type Description
basic.cfunc Definition can be called from a Pick/BASIC program or subroutine in AP/DOS and AP/Unix implementations using a syntax similar to that of normal C.
basic.cfunction Definition Declare a list of C functions.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.