Back to rb_thread_schedule()
commitb128ee31d3751baae5229187a8f6ad865dba63d1
authorRyan Dahl <ry@lakshmi.local>
Sat, 15 Mar 2008 00:51:28 +0000 (15 01:51 +0100)
committerRyan Dahl <ry@lakshmi.local>
Sat, 15 Mar 2008 00:51:28 +0000 (15 01:51 +0100)
tree188fbde21cd4b1b860eb691df212bf3d981f380f
parent26e7c927f672e4a589e50387ec846c4d89a6b81e
Back to rb_thread_schedule()

for some reason lots of speed is lost by waiting in rb_thread_select().
instead i've added a hack which allows us to go into select() only when
there are no connections open. Once the server starts processing
connections, though, it takes control of the operation.
ruby_lib/ebb.rb
src/ebb_ruby.c