gtpc2m5aC/C++ Language Support User's Guide

pausc-Control System Multiprocessor Environment

This function permits an E-type program to request the control program establish a uniprocessor (UP) environment or reestablish the multiprocessor (MP) environment in a system running on a multiple I-stream central processing complex (CPC). It permits a program that is not capable of executing in an MP environment to complete its processing in a UP environment.

Format

#include   <sysapi.h>
void       pausc(enum t_pausc_opt option);

option
Either PAUSC_BEGIN or PAUSC_END to turn on or turn off the multiprocessor environment. The definition of t_pausc_opt is defined in the sysapi.h header file.

Normal Return

Void.

Error Return

Not applicable.

Programming Considerations

Examples

#include <sysapi.h>
     .
     . /* processing in MP mode, main I-stream */
pausc(PAUSC_BEGIN);
     .
     . /* processing in UP mode */
pausc(PAUSC_END)
     .
     . /* return to MP mode */

Related Information

None.