From: <cha...@us...> - 2008-06-26 13:01:30
|
Revision: 489 http://sipp.svn.sourceforge.net/sipp/?rev=489&view=rev Author: charlespwright Date: 2008-06-26 06:01:26 -0700 (Thu, 26 Jun 2008) Log Message: ----------- Enh: Assert to verify timing wheel base is never in the future. Modified Paths: -------------- sipp/trunk/task.cpp Modified: sipp/trunk/task.cpp =================================================================== --- sipp/trunk/task.cpp 2008-06-26 12:28:59 UTC (rev 488) +++ sipp/trunk/task.cpp 2008-06-26 13:01:26 UTC (rev 489) @@ -110,6 +110,8 @@ unsigned int wake_sigbits = wake; unsigned int base_sigbits = wheel_base; + assert(wheel_base <= clock_tick); + if (wake == 0) { return &forever_list; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |