summaryrefslogtreecommitdiff
path: root/sched.c
AgeCommit message (Collapse)Author
2006-08-21merge new_loader_completion branch, including (at least):Kevin P. Fleming
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13fix some typos in the conversion from the old SOONER macro to ast_tvcmpRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12make some counter variables unsigned, use ast_tvcmp instead of a customRussell Bryant
SOONER macro, and some other little cleanups for things like indentation git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-10Whitespace changes onlyTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵Kevin P. Fleming
again :-) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05re-add the initialization of the scheduled item's time to 0. I had removedRussell Bryant
this because I checked the sched_alloc function to use calloc instead of malloc, so I thought it was no longer necessary. However, the sched structures are cached, and cached values will have the old values in them, so this still needs to be done. Also, wrap the scheduler debug code to only happen if option_debug is enabled. It spits out a ton of output so it's nice to be able to enable/disable it during runtime. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05convert the list of scheduled items in a scheduler context to use theRussell Bryant
list macros. Also, use ast_calloc instead of malloc in one place git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06minor code cleanupLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-18use ast_calloc instead of malloc+memset and remove some unnecessary ↵Russell Bryant
initializations git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-08- Doxygen formattingOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30update doxygen docs to specify authorsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29remove extraneous svn:executable propertiesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24Doxygen documentation update from oej (issue #5505)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-05fix a warning on osxRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22add preliminary support for SIP timers (issue #4359)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15add a library of timeval manipulation functions, and change a large number ↵Kevin P. Fleming
of usses to use the new functions (bug #4504) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15clean up scheduler debugging and expose defines in the Makefile (bug #4703)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06more file version tagsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06remove experimental module version tagsKevin P. Fleming
add per-file revision tags and 'show version files' CLI command git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵Kevin P. Fleming
(bug #4058) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-15formatting fixesRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13add missing newlines, fix misspelling of nonexistent (bug #4027)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13Add sched_when function (bug #4022)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-20Minor scheduling fixupsMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22Remove pthread.h from source. We should be using asterisk/lock.h everywhere ↵James Golovich
instead (except in asterisk/lock.h). git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch ↵Mark Spencer
still pending) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21Unlock while processing schedule queueMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21Fix typoMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21Make CALLTYPE availableMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-12Minor typoMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08BSD portability enhancements (bug #234)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-27Merge / correct MM's patchesMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-09-05Version 0.2.0 from FTPMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-06-26Version 0.1.9 from FTPMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-04-23Version 0.1.8 from FTPMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-12-11Version 0.1.1 from FTPMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-10-13Version 0.1.0 from FTPMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3 65c4cc65-6c06-0410-ace0-fbb531ad65f3