Chapter 10. Asynchronous Request Handling

Table of Contents
netslpr
netslwt
netslkill
netsl_assignment

There are a number of useful functions available to handle asynchronous requests.

netslpr
netslwt
netslkill
netsl_assignment

A review of the above functions follow.

netslpr

Checking for completion

To check whether a previously submitted asynchronous request has completed you should use the netslpr() call. It does not block, but returns a value signifying whether the call has completed or not. Below is a short code example.

Submit the asynchronous request:
status = netslnb("inttest()", &i);
Probe to determine if the request has completed:
status = netslpr(request);
Upon return status is either:

Even after netslpr returns NetSolveOK to signify that the request has completed, the user must call netslwt to get the results.