Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8ed3162d9ec007b328411b75299627537cee0a83
Ticket: 1960647fffffffffffffffffffffffffffffffff
Add ability to use poll() in TclUnixWaitForFile()
User & Date: stwo on 2008-05-09 01:08:08
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "stwo"
  10. subsystem changed to: "25. Channel System"
  11. title changed to: "Add ability to use poll() in TclUnixWaitForFile()"
  12. type changed to: "Patch"