using zero-delay events to implement "asynchronous" calls.
The code should probably be rewritten (a) to avoid any waiting/blocking when
there are ready events and (b) to allow waiting longer when there are no ready
events.
/*
- * $Id: EventLoop.cc,v 1.4 2007/07/19 13:33:18 hno Exp $
+ * $Id: EventLoop.cc,v 1.5 2007/07/23 19:55:21 rousskov Exp $
*
* DEBUG: section 1 Main Loop
* AUTHOR: Harvest Derived
{
runOnceResult = true;
error = false;
- loop_delay = 1000; /* 1s default delay */
+ loop_delay = 10; /* 10 ms default delay */
for (engine_vector::iterator i = engines.begin();
i != engines.end(); ++i) {