Posted: Thu Apr 30, 2009 9:45 am Post subject: [asterisk-dev] sruffell: linux/trunk r6524 - /linux/trunk/dr
In article <E1LzDte-0002CA-Bh@wibble.digium.internal>,
SVN commits to the Digium repositories <svn-commits@lists.digium.com> wrote:
Quote:
- * Converted to use RTC on i386 by Tony Mountifield <tony@softins.co.uk>
Well, it was good while it lasted... :-)
But seriously, one comment:
Quote:
+#define JIFFIES_INTERVAL (HZ/250) /* 4ms is fine for dahdi_dummy */
If it is possible to have a system where HZ is less than 250, this won't
work on such a system. I think HZ=100 has been seen quite often.
#define XX 250 /* times per second we want to call dahdi */
#if HZ < XX
#define JIFFIES_INTERVAL 1
#else
#define JIFFIES_INTERVAL (HZ/XX) /* 4ms is fine for dahdi_dummy */
#endif
Replacing XX with a suitably descriptive symbol name.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum