threadpool, res_pjsip: Add serializer group shutdown API calls.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 19 Jun 2015 21:16:17 +0000 (16:16 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 25 Jun 2015 19:33:44 +0000 (14:33 -0500)
commitaf4ae3095e2dc95ffefa864b83fed60b408bc442
tree6c3a77293744b6310345f93d87557918a98279d8
parent4c133d81cde27c28e28c1c41528dc9db4b654286
threadpool, res_pjsip: Add serializer group shutdown API calls.

A module trying to unload needs to wait for all serializers it creates and
uses to complete processing before unloading.

ASTERISK-24907
Reported by: Kevin Harwell

Change-Id: I8c80b90f2f82754e8dbb02ddf3c9121e5e966059
include/asterisk/res_pjsip.h
include/asterisk/threadpool.h
main/threadpool.c
res/res_pjsip.c