rpc_mgmt_set_server_stack_size(3rpc)Specifies the stack size for each server thread Used by server applications. Synopsis #include <dce/rpc.h> void rpc_mgmt_set_server_stack_size( unsigned32 thread_stack_size, unsigned32 *status); Parameters Input
thread_stack_size Output
status
Description A server, provided it knows the stack requirements of all the manager routines in the interfaces it offers, can call rpc_mgmt_set_server_stack_size( ) to ensure that each call thread has the necessary stack size. This routine is optional. When it is used, it must be called before the server calls rpc_server_listen( ). If a server does not call this routine, the default per thread stack size from the underlying threads package is used. Some thread packages do not support the specification or modification of thread stack sizes. The packages cannot perform such operations or the concept of a thread stack size is meaningless to them.
Return Values Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
rpc_s_ok
rpc_s_invalid_arg
rpc_s_not_supported
Related Information
|