[asterisk-bugs] [Asterisk 0011487]: [patch] New application to sleep until a given UNIX epoch

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Dec 7 10:31:58 CST 2007


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=11487 
====================================================================== 
Reported By:                pprindeville
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11487
Category:                   Applications/NewFeature
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Asterisk Version:            1.2.24  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             12-06-2007 23:00 CST
Last Modified:              12-07-2007 10:31 CST
====================================================================== 
Summary:                    [patch] New application to sleep until a given UNIX
epoch
Description: 
This minor application is called with a single value, such as $[${EPOCH} +
n] for whatever value of 'n' you want.

It will then sleep until exactly that time.  This is preferable to doing
Wait(n) if you (a) need to do some work in the time between calculating
${EPOCH} and your future wakeup, or (b) you need to wake up at the exact
second-tick, i.e. for a sychronized purpose (like announcing the time).

The syntax is:  WaitUntil(i)

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-07-07 10:31  blitzrage      Summary                  New application to sleep
until a given UNIX epoch => [patch] New application to sleep until a given UNIX
epoch
======================================================================




More information about the asterisk-bugs mailing list