ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/evthread.C
(Generate patch)

Comparing deliantra/server/server/evthread.C (file contents):
Revision 1.1 by root, Wed Apr 2 11:13:57 2008 UTC vs.
Revision 1.2 by root, Wed Apr 2 12:39:06 2008 UTC

24#include "cfperl.h" 24#include "cfperl.h"
25 25
26thread evthread; 26thread evthread;
27static ev_loop *loop; 27static ev_loop *loop;
28 28
29#define TICK_CYCLES 5 29#define TICK_CYCLES 4
30 30
31// the ticker runs TICK_CYCLES times as fast as the main server tick 31// the ticker runs TICK_CYCLES times as fast as the main server tick
32static ev_periodic cede_watcher; 32static ev_periodic cede_watcher;
33// the tick watcher is activated every TICK_CYCLES 33// the tick watcher is activated every TICK_CYCLES
34ev_async tick_watcher; 34ev_async tick_watcher;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines