home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!rock!concert!decwrl!simpact!jmeinke
- From: jmeinke@dcs.simpact.com
- Newsgroups: vmsnet.networks.tcp-ip.ucx
- Subject: How to wakeup select
- Message-ID: <1993Jan22.162216.48@dcs.simpact.com>
- Date: 22 Jan 93 16:22:16 PDT
- Organization: Simpact Associates, San Diego CA
- Lines: 25
-
- I'm using UCX 2.0, and programming at the socket library.
-
- I want to use 'select' in a way it wasn't intended to be used,
- and if someone knows whether I can do it or not, and if so,
- how, I'd like to hear about it.
-
- I want to do a blocking select, but be able to unblock it from
- an AST routine, ala Process Software's "select_wake()". For
- example,
-
- if (select(FD_SETSIZE, &read_fd, 0, 0, 0) > 0) {
- process the active sockets;
- }
- .
- .
- ast_routine() {
- wakeup_select();
- }
- --
- Jim Meinke, Simpact Associates 619-565-1865
- 9210 Sky Park Court jmeinke@dcs.simpact.com
- San Diego, CA 92123
-
- "I really didn't say everything I said." -- Yogi Berra
-
-