User`s guide

Cray XMT Programming Environment Users Guide
Parameters
threadCount
Specifies the number of server threads that are assigned to an object.
Note: The MTK LUC library ignores the threadCount
parameter.
requestedPid
Specifies a Portals process ID to use when setting up the endpoint.
By default, the LUC library chooses a Portals process ID to use.
Note: MTK ignores the requestedPid parameter.
Return Codes
LUC_ERR_OK The service was stopped.
LUC_ERR_ALREADY_STARTED
User attempted to startService on a previously started
LucEndpoint object
H.3.2 stopService Method
Stops the LucEndpoint object.
Syntax
luc_error_t stopService(void);
Undoes the work of startService. stopService waits for running threads
to finish, then terminates them. It frees up any memory and network resources
associated with the endpoint that were allocated in a previous startService call.
Return Codes
LUC_ERR_OK The service was stopped.
LUC_ERR_NOT_STARTED
The service has not yet been started. To start the service, use the
startService method.
H.3.3 getMyEndpointID Method
Returns the ID of the LucEndpoint object.
Syntax
luc_endpoint_id_t GetMyEndpointId(void);
150 S247920