CEEOPASS

C library interface: pthread_attr_setstacksize()

CEEOPASS sets the thread's stack_size attribute in the specified thread attribute object, attr. Note the thread's stack_size attribute is initialized to the size specified by the STACK runtime option when the thread attribute object is initialized.

Syntax

void CEEOPASS (attr, stack_size, [fc])
CEE_PTAT    *attr;
INT4        *stack_size;
FEED_BACK   *fc;
CEEOPASS
Call this CWI interface as follows:
L     R15,CEECAALEOV-CEECAA(,R12)     CAA address is in R12
L     R15,0144(,R15)
BALR  R14,R15
attr (input)
The initialized thread attribute object.
stack_size (input)
The non-negative initial size (in bytes) of the runtime stack for a thread.
fc (output/optional)
The feedback code returned by the service. It indicates the degree of success in setting the thread stack size attribute.

The following message identifiers and associated severities can be returned by the service in the feedback code fc.

Condition Description category Description value
CEE000 Severity 0
Msg_No 0000
Message The service completed successfully.
CEE5F1 Severity 3
Msg_No 5601
Message Thread attribute object that is not valid was specified.
CEE5FC Severity 3
Msg_No 5612
Message The stack_size attribute did not contain a valid value.