Add rb_thread_schedule() and threaded_processing optionthreaded_processing
commit023a85c3083bea17375f24c751af8fd97214b8ba
authorRyan Dahl <ry@lakshmi.local>
Tue, 11 Mar 2008 17:09:51 +0000 (11 18:09 +0100)
committerRyan Dahl <ry@lakshmi.local>
Tue, 11 Mar 2008 17:09:51 +0000 (11 18:09 +0100)
treea6f528c056a1c6aa59c5f9a74bc8c12e5f84da5b
parent274c811b4e810134dbfb118402190151cc752688
Add rb_thread_schedule() and threaded_processing option

This change should allow Ebb to work like mongrel with threaded processing or like Thin with sequential processing. There are trade off for each, thus i've made it a command line option '-S'

By default Ebb will use threaded processing because it seems that is working best. But only time will tell if that is the correction thing to do.
benchmark/server_test.rb
ruby_lib/ebb.rb
ruby_lib/ebb/runner.rb
src/ebb_ruby.c