Waiting for completion
To wait for a previously submitted asynchronous request to complete you should use the netslwt() call. It blocks until the request has completed. Below is a short code example.
Submit the asynchronous request:
status = netslnb("inttest()", &i); |
status = netslwt(request); |
NetSolveOK - the request has completed successfully
Otherwise the return status represents the specific error that occurred