Change the default taskprocessor test so it will never hang forever.
authorMark Michelson <mmichelson@digium.com>
Sat, 17 Nov 2012 21:48:59 +0000 (21:48 +0000)
committerMark Michelson <mmichelson@digium.com>
Sat, 17 Nov 2012 21:48:59 +0000 (21:48 +0000)
commitf209bc6f9dab88285751acc06002a75bb4d63fc8
tree240bda7c5f8a1e665a5fb750aa8134ce4985410b
parentec68a156191e9d8d6c752b9232b46a29f90a5cbb
Change the default taskprocessor test so it will never hang forever.

Changes the ast_cond_wait() to an ast_cond_timedwait() so that
if there is an issue, we'll never wait forever for the task to
finish execution.

git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@376411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
tests/test_taskprocessor.c