aboutsummaryrefslogtreecommitdiffstats
path: root/sched.c
AgeCommit message (Collapse)AuthorFilesLines
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-399/+0
- 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: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-13fix some typos in the conversion from the old SOONER macro to ast_tvcmprussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37586 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12make some counter variables unsigned, use ast_tvcmp instead of a customrussell1-47/+42
SOONER macro, and some other little cleanups for things like indentation git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37457 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-10Whitespace changes onlytilghman1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37345 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-4/+4
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-05re-add the initialization of the scheduled item's time to 0. I had removedrussell1-4/+11
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: http://svn.digium.com/svn/asterisk/trunk@24950 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-05convert the list of scheduled items in a scheduler context to use therussell1-71/+63
list macros. Also, use ast_calloc instead of malloc in one place git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24910 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06minor code cleanuprizzo1-5/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17867 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-18use ast_calloc instead of malloc+memset and remove some unnecessary ↵russell1-12/+7
initializations git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13453 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-08- Doxygen formattingoej1-39/+33
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12464 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-5/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-05fix a warning on osxrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6515 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22add preliminary support for SIP timers (issue #4359)kpfleming1-2/+10
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6362 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-71/+32
of usses to use the new functions (bug #4504) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15clean up scheduler debugging and expose defines in the Makefile (bug #4703)kpfleming1-10/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6145 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06remove experimental module version tagskpfleming1-0/+4
add per-file revision tags and 'show version files' CLI command git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-4/+4
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-15formatting fixesrussell1-8/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5479 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-13add missing newlines, fix misspelling of nonexistent (bug #4027)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5467 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-13Add sched_when function (bug #4022)markster1-0/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5466 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-20Minor scheduling fixupsmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3482 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22Remove pthread.h from source. We should be using asterisk/lock.h everywhere ↵citats1-1/+1
instead (except in asterisk/lock.h). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch ↵markster1-0/+3
still pending) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3273 f38db490-d61c-443f-a65b-d21fe96a405b
2003-11-21Unlock while processing schedule queuemarkster1-1/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1779 f38db490-d61c-443f-a65b-d21fe96a405b
2003-11-21Fix typomarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1777 f38db490-d61c-443f-a65b-d21fe96a405b
2003-11-21Make CALLTYPE availablemarkster1-18/+37
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1776 f38db490-d61c-443f-a65b-d21fe96a405b
2003-11-12Minor typomarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1727 f38db490-d61c-443f-a65b-d21fe96a405b
2003-09-08BSD portability enhancements (bug #234)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1486 f38db490-d61c-443f-a65b-d21fe96a405b
2003-07-27Merge / correct MM's patchesmarkster1-6/+31
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1227 f38db490-d61c-443f-a65b-d21fe96a405b
2002-09-05Version 0.2.0 from FTPmarkster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@518 f38db490-d61c-443f-a65b-d21fe96a405b
2001-06-26Version 0.1.9 from FTPmarkster1-2/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@338 f38db490-d61c-443f-a65b-d21fe96a405b
2001-04-23Version 0.1.8 from FTPmarkster1-2/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@294 f38db490-d61c-443f-a65b-d21fe96a405b
1999-12-11Version 0.1.1 from FTPmarkster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@134 f38db490-d61c-443f-a65b-d21fe96a405b
1999-10-13Version 0.1.0 from FTPmarkster1-0/+336
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3 f38db490-d61c-443f-a65b-d21fe96a405b