Commit Graph

56 Commits (master)

Author SHA1 Message Date
Mike Bradeen b79a571279 sched: fix and test a double deref on delete of an executing call back
3 years ago
Walter Doekes 3c6f11992b sched: Don't allow ast_sched_del to deadlock ast_sched_runq from same thread
6 years ago
Sean Bright 58b55f2a30 sched: Make sched_settime() return void because it cannot fail
6 years ago
Joshua Colp 33f855bb69 sched: Make ABI compatible between dev mode and non-dev mode.
7 years ago
Corey Farrell c8a521b6c8 Replace direct checks of option_debug with DEBUG_ATLEAST macro.
7 years ago
Corey Farrell a6e5bae3ef Remove ASTERISK_REGISTER_FILE.
9 years ago
Richard Mudgett 9a7cfa2b61 sched.c: Ensure oldest expiring entry runs first.
9 years ago
Richard Mudgett ef77439e39 sched.c: Make not return a sched id of 0.
10 years ago
Richard Mudgett 9bc7386b7c sched.c: Add warning about negative time interval request.
10 years ago
Mark Michelson 0a74c80300 scheduler: Use queue for allocating sched IDs.
10 years ago
Joshua Colp c036e50fbe sched: ast_sched_del may return prematurely due to spurious wakeup
10 years ago
Yousf Ateya 83ff268b9e chan_iax2: Prevent deadlock between hangup and sending lagrq/ping
10 years ago
Matt Jordan 4a58261694 git migration: Refactor the ASTERISK_FILE_VERSION macro
10 years ago
Corey Farrell a4774ceaa5 Create work around for scheduler leaks during shutdown.
10 years ago
Jonathan Rose 87b5006ff0 Scheduler: Fix a nasty scheduler caching bug which makes new tasks not execute
11 years ago
Richard Mudgett 4728c05957 sched: Fix typo and whitespace change.
11 years ago
Mark Michelson c5ab4adf17 Fix race condition in the scheduler when deleting a running entry.
11 years ago
Kinsey Moore abd3e4040b Allow Asterisk to compile under GCC 4.10
11 years ago
Joshua Colp 6bdf2c4eab scheduler: Remove hashtab usage.
11 years ago
Kevin P. Fleming 166b4e2b30 Multiple revisions 369001-369002
13 years ago
Kinsey Moore c5b3db1956 Kill off red blobs in most of main/*
13 years ago
Russell Bryant 6ac425df31 Fix inaccurate sizeof() in sched.c.
13 years ago
Russell Bryant cc0b7e7df5 Some scheduler API cleanup and improvements.
15 years ago
Russell Bryant 461f9b004e Merged revisions 281575 via svnmerge from
15 years ago
Tilghman Lesher fe9e0e672e Finally, a method that really fixes the assertions in chan_iax2.c related to cancelling lagid.
15 years ago
Mark Michelson dbc3111652 Initialize counters in ast_sched_report so that resulting data is not bogus.
15 years ago
Russell Bryant 989e617e1f Fix a regression in scheduler entry ordering, and add a regression test for it.
16 years ago
Russell Bryant 044cf691fe Significantly improve scheduler performance under high load.
16 years ago
Russell Bryant 8c75380f52 Make ast_sched_report() and ast_sched_dump() thread safe.
16 years ago
Russell Bryant ca9d3b8ac9 Fix a number of problems with ast_sched_report().
16 years ago
Russell Bryant 0cbada4f96 Add a common implementation of a scheduler context with a dedicated thread.
16 years ago
Russell Bryant bdfd731b8b Merged revisions 142354 via svnmerge from
17 years ago
Sean Bright 74bf61579f That's all, folks. Not going to update the Makefile until res_jabber is
17 years ago
Tilghman Lesher c95460a353 Oops, wrong define
17 years ago
Tilghman Lesher c6081ee253 Merged revisions 131988 via svnmerge from
17 years ago
Tilghman Lesher 7575be9da1 Merged revisions 131985 via svnmerge from
17 years ago
Tilghman Lesher 3fa9ad3d13 Merged revisions 131970 via svnmerge from
17 years ago
Tilghman Lesher 467c6f5f90 Merged revisions 121861 via svnmerge from
17 years ago
Luigi Rizzo 18065a175d Use casts or intermediate variables to remove a number
17 years ago
Russell Bryant 08f91c1192 Merged revisions 116463 via svnmerge from
17 years ago
Russell Bryant 56aa9b9efa Fix up a problem that was introduced into the scheduler when it was converted
17 years ago
Tilghman Lesher b11854445b Add attributes to various API calls, to help track down bugs (and remove a deprecated function)
17 years ago
Steve Murphy 2b69ec9a38 Introducing a small upgrade to the ast_sched_xxx facility, to keep it from eating up lots of cpu cycles. See CHANGES. From the team/murf/bug11210 branch.
17 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Russell Bryant 9f64905d4e Merged revisions 83432 via svnmerge from
18 years ago
Tilghman Lesher 262578a60f A schedule id of 0 is not possible and is used to flag that we want to add a new item
18 years ago
Russell Bryant f5bf66bcd7 This commit adds a scheduler API call, ast_sched_replace that can be used
18 years ago