# File lib/puppet/external/event-loop/event-loop.rb, line 245 245: def will_block= (wants_blocking) 246: require "fcntl" 247: flags = fcntl(Fcntl::F_GETFL, 0) 248: if wants_blocking 249: flags &= ~Fcntl::O_NONBLOCK 250: else 251: flags |= Fcntl::O_NONBLOCK 252: end 253: fcntl(Fcntl::F_SETFL, flags) 254: end