HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
r
rpc_svc_calls(3N) rpc_svc_calls(3N)
bool_t svc_sendreply()
Called by an RPC service’s dispatch routine to send the results of a remote procedure call. The
parameter xprt is the request’s associated transport handle; outproc is the XDR routine which is used
to encode the results; and out is the address of the results. This routine returns TRUE if it succeeds,
FALSE otherwise.
This function macro is safe in MT applicationsutilizing the User MT modes.
MULTITHREAD USAGE
Thread Safe: See the NOTES section of this page.
Cancel Safe: See the NOTES section of this page.
Fork Safe: No
Async-cancel Safe: No
Async-signal Safe: No
In a multithreaded environment, these functions are not safe to be called by a child process after fork()
and before exec(). These functions should not be called by a multithreaded application that support
asynchronous cancellationor asynchronous signals.
NOTES
svc_dg_enablecache()
and svc_getrpccaller()
are Thread Safe and Cancel Safe in mul-
tithreaded applications.
svc_freeargs()
, svc_getargs(), and svc_sendreply()
are Thread
safe and Cancel Safe in multithreaded applications utilizing the User MT modes.
svc_getreq_common()
, svc_getreqset(), and svc_getreq_poll()
are unsafe in mul-
tithreaded applicationsand should be called only from the main thread.
SEE ALSO
rpcgen(1), poll(2), rpc(3N), rpc_control(3N), rpc_svc_create(3N), rpc_svc_err(3N), rpc_svc_reg(3N), select(2).
Section 3−−806 − 3 − HP-UX Release 11i: December 2000
___
___