Overview
| Artifact ID: | 8ed3162d9ec007b328411b75299627537cee0a83 |
|---|---|
| Ticket: | 1960647fffffffffffffffffffffffffffffffff
Add ability to use poll() in TclUnixWaitForFile() |
| User & Date: | stwo on 2008-05-09 01:08:08 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
This patch add the autoconf detection and C code necessary to use poll() instead of select() in TclUnixWaitForFile. Since this function only waits on one file descriptor, using poll() allows for slightly smaller code, less variables and a little less complexity. The code which uses select() has been altered to use the FD_SET macros in a similar manner as to what was done to tclUnixNotfy.c in this update: http://tcl.cvs.sourceforge.net/tcl/tcl/unix/tclUnixNotfy.c?r1=1.11.2.4&r2=1.11.2.5 Please scrutinize.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "stwo"
- subsystem changed to: "25. Channel System"
- title changed to: "Add ability to use poll() in TclUnixWaitForFile()"
- type changed to: "Patch"