Guardian Procedure Calls Reference Manual

CONTROLMESSAGESYSTEM Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
Considerations
Summary
The CONTROLMESSAGESYSTEM procedure controls the maximum number of receive and send
messages used by a process.
Syntax for C Programmers
#include <cextdecs(CONTROLMESSAGESYSTEM)>
short CONTROLMESSAGESYSTEM ( short actioncode
,short value );
Syntax for TAL Programmers
error := CONTROLMESSAGESYSTEM ( actioncode ! i
,value ); ! i
Parameters
actioncode
input
INT:value
specifies the action to be taken. See value for the list of action codes and values.
value
input
INT:value
supplies a value to be used in taking an action:
Action Takenvalueaction
code
This value (considered an unsigned number) sets the limit on the
number of outstanding incoming messages to the process. The
1 through 4095
1
1 through 16383
2
0
default limit is 255; opening $RECEIVE with receive depth can
increase this limit. The elapsed-time timeout messages and system
status messages are not affected by this limit.
This value (considered an unsigned number) sets the limit on the
number of outstanding messages sent by the process. The default
1 through 4095
1
1 through 16383
2
1
limit is 1023. The elapsed-time timeout messages and system
status messages are not affected by this limit.
CONTROLMESSAGESYSTEM Procedure 215