git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@378653
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
return pvt->dead;
}
-/* this is the task processing worker function */
+/*!
+ * \brief Function that processes tasks in the taskprocessor
+ * \internal
+ */
static void *tps_processing_function(void *data)
{
struct ast_taskprocessor_listener *listener = data;
}
p = ao2_find(tps_singletons, name, OBJ_KEY);
if (p) {
- ao2_unlock(tps_singletons);
return p;
}
if (create & TPS_REF_IF_EXISTS) {