12.07.2015 Views

SDISC Assembler Call - NetEx

SDISC Assembler Call - NetEx

SDISC Assembler Call - NetEx

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 7. Concurrent SREAD and SWRITE requestsThe following numbered items describe the steps above. The steps are numbered to simplify the discussionand do not necessarily represent the exact order which the events occur.1. After a session has been established, both programs create duplicate NRBs for the SWRITE requests.The NRBs created before the sessions were established are assumed to have been called RNRB, and willbe used with SREAD requests. New NRBs called WNRB are duplicates of the RNRB which will be usedwith the SWRITE requests2. Both programs issue an SREAD request to prepare to receive requests from the other program. TheRNRB is specified in the SREADs as the place for NETEX to respond to that request.3. Program A issues an SWRITE to program B. The SWRITE contains a request for specific data from programB. The WNRB is specified in the SWRITE as the place for NETEX to respond to that request.4. Program A checks the WNRB to see if NETEX accepted the SWRITE or indicated an error, and acts accordingly.Page 16 Intertask Communication MAN-REF-H307IP-04

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!