mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Use zaptel timers to wake up processes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1002 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -112,6 +112,9 @@ struct ast_channel {
|
||||
struct ast_filestream *stream;
|
||||
/*! Original writer format */
|
||||
int oldwriteformat;
|
||||
|
||||
/*! Timing fd */
|
||||
int timingfd;
|
||||
|
||||
|
||||
/*! State of line -- Don't write directly, use ast_setstate */
|
||||
@@ -669,6 +672,10 @@ int ast_autoservice_start(struct ast_channel *chan);
|
||||
/*! Stop servicing a channel for us... Returns -1 on error or if channel has been hungup */
|
||||
int ast_autoservice_stop(struct ast_channel *chan);
|
||||
|
||||
/* If built with zaptel optimizations, force a scheduled expiration on the
|
||||
timer fd */
|
||||
int ast_settimeout(struct ast_channel *c, int ms);
|
||||
|
||||
/* Misc. functions below */
|
||||
|
||||
//! Waits for activity on a group of channels
|
||||
|
Reference in New Issue
Block a user