Add better listener support.
authorMark Michelson <mmichelson@digium.com>
Tue, 4 Dec 2012 23:45:39 +0000 (23:45 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 4 Dec 2012 23:45:39 +0000 (23:45 +0000)
commitcc63d2c380906e3f85a6c6c2a58f44caee2d19cb
tree50b1b419ca3819ff5f29068b1908247bd3dcc0b8
parent4acb2070f21883d1da40322df6b5d18fd727f5a6
Add better listener support.

Add some parameters to listener callbacks.
Add alloc and destroy callbacks for listeners.
Add public function for allocating a listener.

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