diff options
author | Russell Bryant <russell@russellbryant.com> | 2008-06-16 13:08:13 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2008-06-16 13:08:13 +0000 |
commit | 9a301b9f20d2ac20b89d547ad0be2aa92e7d226b (patch) | |
tree | 1b78b712c216c7d7fb4eb9a5932b4350996d2815 /configs | |
parent | 96ea12126e2485fca439c0de887ed721a045e510 (diff) |
Merge res_timing_pthread. This is a timing interface for Asterisk that
does not require DAHDI. It's called "pthread" because it uses a pthread
API call in the timing thread for sleeping and ensuring we wake up at
an appropriate time. I wasn't sure what else to call it. :)
The timing API requires a file descriptor that can be polled on. So,
when you open a timer, this module creates a pipe and returns the read
end of the pipe. There is a background thread that wakes up every 10ms
and checks to see if any of the currently open timers need a 'tick' and
writes to the appropriate pipe.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
0 files changed, 0 insertions, 0 deletions