]> git.ipfire.org Git - thirdparty/asterisk.git/commit
threadpool.c: Minor cleanup fixes.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 29 Sep 2014 20:24:53 +0000 (20:24 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 29 Sep 2014 20:24:53 +0000 (20:24 +0000)
commit654397bed927ed7f0598a351140fffe2c857ec63
tree552aabb3fdf440f96cc1580818113e1f7006a1cc
parent7bcae5d036db0227110744b0ca99e6cf9360c644
threadpool.c: Minor cleanup fixes.

* Fix threadpool_alloc() prototype.

* Add missing off-nominal NULL check of pool in threadpool_alloc().

* searializer_create() does not need to create the object with a lock as
the lock is not used.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@424096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/threadpool.c