home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / vmsnet / networks / tcpip / ucx / 284 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.6 KB

  1. Path: sparky!uunet!stanford.edu!rutgers!spcvxb!terry
  2. From: terry@spcvxb.spc.edu (Terry Kennedy, Operations Mgr.)
  3. Newsgroups: vmsnet.networks.tcp-ip.ucx
  4. Subject: Re: How to wakeup select
  5. Message-ID: <1993Jan23.075308.4980@spcvxb.spc.edu>
  6. Date: 23 Jan 93 12:53:08 GMT
  7. References: <1993Jan22.162216.48@dcs.simpact.com>
  8. Organization: St. Peter's College, US
  9. Lines: 23
  10.  
  11. In article <1993Jan22.162216.48@dcs.simpact.com>, jmeinke@dcs.simpact.com writes:
  12. > I want to do a blocking select, but be able to unblock it from
  13. > an AST routine, ala Process Software's "select_wake()". For
  14. > example, 
  15.  
  16.   I just spent about 30 minutes looking at this, and it's pretty hairy in
  17. there. I think your best bet would be to either use the QIO interface or
  18. ask the UCX folks to consider this as a request for a future version.
  19.  
  20.   However, if you really want to proceed, the select() routine inside the
  21. UCX$IPC_SHR image gets an event flag number and saves it internally. It
  22. then uses this for the remainer of the select processing (and apparently
  23. for any future selects, since it tests to see if there's an EFN in the
  24. pigeonhole before trying to get one from the system. Provided that you can
  25. find a good way of determining the EFN, you should just be able to set it
  26. and the select() should then return (probably with a completely bogus
  27. status). The EFN may be used for other UCX things - a bunch of stuff in 
  28. the IPC_SHR image uses them, but I didn't check to see if they were all
  29. using the same pigeonhole.
  30.  
  31.     Terry Kennedy        Operations Manager, Academic Computing
  32.     terry@spcvxa.bitnet    St. Peter's College, Jersey City, NJ USA
  33.     terry@spcvxa.spc.edu    +1 201 915 9381
  34.