home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!munnari.oz.au!comp.vuw.ac.nz!newshost.wcc.govt.nz!kosmos.wcc.govt.nz!gaspard_r
- From: gaspard_r@kosmos.wcc.govt.nz
- Newsgroups: vmsnet.networks.desktop.pathworks
- Subject: Programming under Pathworks for DOS
- Date: 22 Dec 92 21:59:42 NZST
- Organization: Welligton City Council, Public Access.
- Lines: 30
- Message-ID: <1992Dec22.215942.1@kosmos.wcc.govt.nz>
- NNTP-Posting-Host: kosmos.wcc.govt.nz
-
- Programming under Pathworks for DOS ...
-
- 1. Is it possible to perform asynchronous network receives and transmits
- under Pathworks for DOS, over a task-to-task logical link?
- In other words, can a program initiate a network receive or transmit
- operation, and continue processing before the operation has completed
- and the data received by this end or the other end of the logical link?
-
- 2. Is it possible to have concurrent receive and transmit operations in
- progress at the same time, over the one task-to-task logical link?
-
- For standard DOS I/O operations like disk file I/O, it is not possible
- to have two concurrent I/O operations because DOS itself is not
- reentrant. But does this restriction apply to Pathworks?
-
- The answer to both the above questions under VMS is "YES" -- but what about
- under Pathworks for DOS?
-
- We want to implement a full-duplex task-to-task logical link between a
- program running under Pathworks for DOS and a program running under VMS.
- Each program effectively has three threads of execution: (a) a network
- transmitting thread, (b) a network receiving thread, and (c) an internal
- data processing thread. Under VMS alone we can use the asynchronous $QIO
- system service (rather than the synchronous $QIOW) to perform the network
- receives and transmits, and event flags to indicate completion. If we used
- synchronous receive and transmit operations then the two programs could
- deadlock if (for example) both chose to transmit at the same time.
-
- What features does Pathworks for DOS provide to implement the same
- functionality?
-