Commit Graph

37 Commits

Author SHA1 Message Date
Russell Bryant 6dd28d9670 fix some typos in the conversion from the old SOONER macro to ast_tvcmp
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 22:03:47 +00:00
Russell Bryant 2355c3ac1d make some counter variables unsigned, use ast_tvcmp instead of a custom
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-12 18:28:31 +00:00
Tilghman Lesher 229ab7d9cf Whitespace changes only
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-10 19:05:48 +00:00
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant 0f8ea8ddca re-add the initialization of the scheduled item's time to 0. I had removed
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-05 18:11:55 +00:00
Russell Bryant 55aab4cfbd convert the list of scheduled items in a scheduler context to use the
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-05-05 17:09:27 +00:00
Luigi Rizzo 85548cccb0 minor code cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 15:55:15 +00:00
Russell Bryant df09af8ee3 use ast_calloc instead of malloc+memset and remove some unnecessary initializations
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-18 19:16:36 +00:00
Olle Johansson 137422ba91 - Doxygen formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-08 17:41:03 +00:00
Russell Bryant a725468381 update doxygen docs to specify authors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Russell Bryant 4daf98741a fix a warning on osx
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-05 17:46:09 +00:00
Kevin P. Fleming 3480297607 add preliminary support for SIP timers (issue #4359)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 22:55:06 +00:00
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number 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-15 23:00:47 +00:00
Kevin P. Fleming 60cd1fa57d clean up scheduler debugging and expose defines in the Makefile (bug #4703)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6145 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 22:21:31 +00:00
Kevin P. Fleming 2b8338cb52 more file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming 0e6762dd5f remove experimental module version tags
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-06-06 20:27:51 +00:00
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Russell Bryant eea0213fe4 formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-15 17:34:14 +00:00
Russell Bryant 7bffc0459c add missing newlines, fix misspelling of nonexistent (bug #4027)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 23:33:47 +00:00
Mark Spencer 8d1744dd29 Add sched_when function (bug #4022)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 18:46:35 +00:00
Mark Spencer a23fa08274 Minor scheduling fixups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3482 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-20 13:43:33 +00:00
James Golovich 8801247d76 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 18:49:00 +00:00
Mark Spencer 5546e32355 Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch still pending)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 17:42:14 +00:00
Mark Spencer 1d08a35f18 Unlock while processing schedule queue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21 22:05:08 +00:00
Mark Spencer d4c9f37994 Fix typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21 20:41:43 +00:00
Mark Spencer bfb27d0836 Make CALLTYPE available
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-21 18:38:42 +00:00
Mark Spencer 3a3722eb90 Minor typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1727 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-11-12 08:57:23 +00:00
Mark Spencer 479a67e629 BSD portability enhancements (bug #234)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-09-08 16:48:07 +00:00
Mark Spencer 27d3190aa2 Merge / correct MM's patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-07-27 03:53:19 +00:00
Mark Spencer 96fb2cc31a Version 0.2.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-09-05 21:32:54 +00:00
Mark Spencer 7c83e67367 Version 0.1.9 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-06-26 19:17:27 +00:00
Mark Spencer ad0aa8091a Version 0.1.8 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2001-04-23 16:50:12 +00:00
Mark Spencer 42d4c7991c Version 0.1.1 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-12-11 20:09:45 +00:00
Mark Spencer 891ed0c02a Version 0.1.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1999-10-13 04:15:49 +00:00