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