Sun Java System Web Server 7.0 Update 4 NSAPI Developer's Guide

prepare_nsapi_thread() Function

The prepare_nsapi_thread function enables threads that are not created by the server to act like server-created threads. This function must be called before any NSAPI functions are called from a thread that is not server-created.

Syntax

void prepare_nsapi_thread(Request *rq, Session *sn);

Return Values

void

Parameters

Request *rq is the request.

Session *sn is the session.

The Request and Session parameters are the same parameter as the ones passed into your SAF.

See Also

protocol_start_response() Function