diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-28 18:43:02 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-08-28 18:43:02 +0000 |
commit | 5ed7fdc6f63281c068e0f8dc3c882785485fbb6b (patch) | |
tree | d1cc6ceceb798a0590333546859067941ce280d3 | |
parent | 8523b94d06fdcf151ca6a5125845d9a053028d68 (diff) |
Merged revisions 214650 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r214650 | mmichelson | 2009-08-28 13:41:23 -0500 (Fri, 28 Aug 2009) | 3 lines
Fix some incorrect documentation of sched_thread functions.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@214653 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | include/asterisk/sched.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asterisk/sched.h b/include/asterisk/sched.h index 759672dfe..4f5fb4217 100644 --- a/include/asterisk/sched.h +++ b/include/asterisk/sched.h @@ -349,8 +349,8 @@ struct ast_sched_thread *ast_sched_thread_destroy(struct ast_sched_thread *st); * \param cb the function to call when the scheduled time arrives * \param data the parameter to pass to the scheduler callback * - * \retval 0 success - * \retval non-zero failure + * \retval -1 Failure + * \retval >=0 Sched ID of added task */ int ast_sched_thread_add(struct ast_sched_thread *st, int when, ast_sched_cb cb, const void *data); @@ -369,8 +369,8 @@ int ast_sched_thread_add(struct ast_sched_thread *st, int when, ast_sched_cb cb, * non-zero means re-schedule using the time provided when the scheduler * entry was first created. * - * \retval 0 success - * \retval non-zero failure + * \retval -1 Failure + * \retval >=0 Sched ID of added task */ int ast_sched_thread_add_variable(struct ast_sched_thread *st, int when, ast_sched_cb cb, const void *data, int variable); |