freetdm: stop scheduler but do not destroy it until the very end (dup)

This commit is contained in:
Moises Silva
2010-09-28 11:05:54 -04:00
parent fb71965fd2
commit ba5a250cc8
3 changed files with 29 additions and 11 deletions

View File

@@ -95,6 +95,9 @@ FT_DECLARE(ftdm_status_t) ftdm_sched_global_init(void);
/*! \brief Checks if the main scheduling thread is running */
FT_DECLARE(ftdm_bool_t) ftdm_free_sched_running(void);
/*! \brief Stop the main scheduling thread (if running) */
FT_DECLARE(ftdm_bool_t) ftdm_free_sched_stop(void);
#ifdef __cplusplus
}
#endif