Changeset 161

Show
Ignore:
Timestamp:
05/31/06 05:33:04 (2 years ago)
Author:
blackhedd
Message:

comments

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • experiments/machine/lib/machine/eio.rb

    r159 r161  
    5959  # 
    6060  def initialize io = nil 
    61     # Set the socket nonblocking. The new Ruby will actually nonblocking APIs. 
     61    # Set the socket nonblocking. The new Ruby will actually have nonblocking APIs. 
     62    # Just noticed, we're taking a nil default argument but if that ever happens 
     63    # the rest of this code will blow up. 
    6264    m = io.fcntl(Fcntl::F_GETFL, 0) 
    6365    io.fcntl(Fcntl::F_SETFL, Fcntl::O_NONBLOCK | m)