Commit Graph

50 Commits (021ce938cacbceedc02c652bff47e966ac4f8734)

Author SHA1 Message Date
Corey Farrell 021ce938ca
astobj2: Remove legacy ao2_container_alloc routine.
7 years ago
Corey Farrell 5ab94d2a3e
taskprocessor: Warn on unused result from pushing task.
7 years ago
Corey Farrell f06de6900e threadpool: Eliminate pointless AO2 usage.
7 years ago
Sean Bright fd0ca1c3f9 Remove as much trailing whitespace as possible.
7 years ago
Corey Farrell 1b80ffa495 Fix Common Typo's.
7 years ago
Corey Farrell fd54d69feb threadpool: Fix leak in ast_threadpool_serializer_group error path.
9 years ago
Corey Farrell 80ff2c2540 threadpool: Fix potential data race.
9 years ago
Mark Michelson 264c74aa22 res_pjsip: Deny requests when threadpool queue is backed up.
10 years ago
Joshua Colp 2954354404 threadpool: Handle worker thread transitioning to dead when going active.
10 years ago
Richard Mudgett af4ae3095e threadpool, res_pjsip: Add serializer group shutdown API calls.
10 years ago
Richard Mudgett 30cd559345 DNS: Need to use the same serializer for a pjproject SIP transaction.
10 years ago
Richard Mudgett 9d2bc0675a threadpool.c: Minor cleanup fixes.
11 years ago
Mark Michelson 33eb15a242 Fix threadpool rapid growth problem.
12 years ago
Mark Michelson 74f2318051 Merge the pimp_my_sip branch into trunk.
12 years ago
David M. Lee 3f0ea90ce6 Changing log level of "Not changing threadpool size" from notice to debug.
12 years ago
Kinsey Moore 0366f7ca77 Fix ref leak in threadpool.c
12 years ago
Kinsey Moore d182115fcb Resolve a ref leak in threadpool.c
12 years ago
Richard Mudgett 855bb334c8 threadpool: Make ast_threadpool_push() return -1 if shutting_down
12 years ago
Richard Mudgett e2832f18bc threadpool: Whitespace and comment corrections.
12 years ago
David M. Lee 222e8a3afb Add a serializer interface to the threadpool
12 years ago
Mark Michelson 84c50fde1f Address David's latest feedback on reviewboard:
12 years ago
Mark Michelson 967e380ba8 Make the threadpool listener opaque.
12 years ago
Mark Michelson 663479a558 Make ast_taskprocessor_listener opaque.
12 years ago
Mark Michelson 03e89247de Address further review feedback from David Lee.
12 years ago
Mark Michelson c6bc51ef28 Make the initial size of the threadpool part of the options passed in.
12 years ago
Mark Michelson edc2e4dac0 Remove threadpool listener alloc and destroy callbacks.
12 years ago
Mark Michelson 65c7d6e2c3 Remove alloc and destroy callbacks from the taskprocessor.
12 years ago
Mark Michelson bdd8da406b Address review board feedback from Matt and Richard
12 years ago
Mark Michelson 7995bc63c7 Some general cleanup, plus we now send state changes when threads activate.
13 years ago
Mark Michelson 2abda64003 Add threadpool option version check into threadpool creation routine.
13 years ago
Mark Michelson 8760e32ae3 Add auto-increment option and accompanying test.
13 years ago
Mark Michelson 29fc122783 Some documentation fixes and function call name fixes.
13 years ago
Mark Michelson 1310e659bd Solve the issue about the "CHANGE THIS" and "XXX CHANGE THIS XXX" taskprocessor names.
13 years ago
Mark Michelson 64deed062a Add threadpool options and accompanying test.
13 years ago
Mark Michelson 5dd22df050 Improve shutdown procedure.
13 years ago
Mark Michelson 03d617040a Add safeguards to ensure we don't improperly access a destroyed taskprocessor.
13 years ago
Mark Michelson 7be7baba30 Remove unnecessary debugging and add some useful debugging.
13 years ago
Mark Michelson 293b18ecce Create longer thread destruction test.
13 years ago
Mark Michelson 3a25935f7d Fix infinite looping and crash problem.
13 years ago
Mark Michelson 4590bfd93d Add new threadpool test and fix some taskprocessor bugs.
13 years ago
Mark Michelson 9445402925 It helps if we actually assign the listener to the pool.
13 years ago
Mark Michelson c32634e0dd Add initial simple threadpool test.
13 years ago
Mark Michelson cc63d2c380 Add better listener support.
13 years ago
Mark Michelson 2158005bdb Remove zombie state from threadpool altogether.
13 years ago
Mark Michelson c16371fab6 Simplify threadpool refcounting a bit.
13 years ago
Mark Michelson a37fb2e8c8 Add some doxygen and rearrange code.
13 years ago
Mark Michelson 66fe664c00 Fix a few miscellaneous things
13 years ago
Mark Michelson e7ce12839d This now compiles.
13 years ago
Mark Michelson e044fa5fde Some more progress.
13 years ago
Mark Michelson ddde765c59 Commit some progress towards threadpools.
13 years ago