rpc_ss_set_thread_handle(3rpc)Sets the thread handle for either a newly created spawned thread or for a server that was formerly a client and is ready to be a client again Used by server or possibly by client applications. Synopsis #include <dce/rpc.h> void rpc_ss_set_thread_handle( rpc_ss_thread_handle_t id ); Parameters Input
id
Description The rpc_ss_set_thread_handle( ) routine can also be used by a program that originally was a client, then became a server, and is now reverting to a client. The program must re-establish the client environment by calling the rpc_ss_set_thread_handle( ) routine, supplying the handle it received (through rpc_ss_get_thread_handle( )) prior to becoming a server, as a parameter.
Return Values
Examples
#include <pthread.h> Errors A representative list of errors that might be returned is not shown here. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
Related Information Books: OSF DCE Application Development Guide - Core Components
|