home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / question / 10595 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.4 KB  |  37 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!wupost!udel!gvls1!jabber!candle!root
  3. From: root@candle.uucp (Bruce Momjian)
  4. Subject: select()/poll() source code posting
  5. Organization: a consultant's basement
  6. Date: Tue, 1 Sep 1992 01:45:21 GMT
  7. Message-ID: <1992Sep1.014521.3662@candle.uucp>
  8. X-Newsreader: Tin 1.1 PL5
  9. Lines: 26
  10.  
  11. I have written an implementation of poll() and select() for systems that
  12. lack them.  It is implemented as a device driver.  I have called it
  13. pol() and selec() so as not to confuse them with the originals.  It only
  14. works on reads and writes.
  15.  
  16. I have tested it using pcomm 2.0 and ptyshl with the PD pty driver.
  17.  
  18. The shar file is 17k.  My thanks to those people in comp.unix.internals
  19. who helped me with some of the details.  This code was written by
  20. looking at other PD device driver implementaions, like fas(async),
  21. pty(ptys), herc(hercules graphics), and mouse(mouse).  
  22.  
  23. The code was developed on AT&T 386 Unix SVr3.1, which has poll(), but
  24. only for streams.  
  25.  
  26. If you would like a copy, please mail me a request.
  27.  
  28. -- 
  29. Bruce Momjian                      |  830 Blythe Avenue
  30. root%candle.uucp@bts.com           |  Drexel Hill, Pennsylvania 19026 
  31.                                    |  (215) 353-9879(w)  853-3000(h)
  32.  
  33. -- 
  34. Bruce Momjian                      |  830 Blythe Avenue
  35. root%candle.uucp@bts.com           |  Drexel Hill, Pennsylvania 19026 
  36.                                    |  (215) 353-9879(w)  853-3000(h)
  37.