Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1541428060e0377d1501b8846af2713fc846720b
Ticket: 1960647fffffffffffffffffffffffffffffffff
Add ability to use poll() in TclUnixWaitForFile()
User & Date: das on 2008-06-15 21:11:53
Changes

  1. icomment:
    Logged In: YES 
    user_id=90580
    Originator: NO
    
    Stuart,
    IMO the main difficulty with this patch is that it adds a dependency on poll(), which we have to detect and make sure is useable on all supported platforms, for instance on Darwin, poll() is known to be buggy in certain OS versions and with certain fd types (e.g. with devices in OSX 10.3 and earlier, c.f. google for more), it is very possible similar problems exist on other platforms.
    I'm not convinced it is worth the time & effort to do this if the whole approach to call select() or poll() in TclUnixWaitForFile() directly is flawed anyway... 
    
    
  2. login: "das"
  3. mimetype: "text/plain"
  4. username: "das"