Add threadpool options and accompanying test.
authorMark Michelson <mmichelson@digium.com>
Mon, 10 Dec 2012 06:13:09 +0000 (06:13 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 10 Dec 2012 06:13:09 +0000 (06:13 +0000)
commit64deed062a6c79124dbc3b5d09c770a7a3f20f1c
tree8e182a35753bcb81b53d973dbbd8d89e150b813d
parent5dd22df050264299b42160daeaa7701c81488ceb
Add threadpool options and accompanying test.

The only test added so far is an idle thread timeout
option. This will greatly aid threadpool users who wish
to maintain a threadpool by allowing for idle threads to
die out as necessary.

Test passes.

git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@377580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/threadpool.h
main/threadpool.c
tests/test_threadpool.c