Make ast_sched_report() and ast_sched_dump() thread safe.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@175882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2009-02-15 21:27:33 +00:00
parent ca9d3b8ac9
commit 8c75380f52
2 changed files with 6 additions and 3 deletions

View File

@@ -257,7 +257,7 @@ int ast_sched_runq(struct sched_context *con);
* Debugging: Dump the contents of the scheduler to stderr
* \param con Context to dump
*/
void ast_sched_dump(const struct sched_context *con);
void ast_sched_dump(struct sched_context *con);
/*! \brief Returns the number of seconds before an event takes place
* \param con Context to use