search for: app_waitutil

Displaying 2 results from an estimated 2 matches for "app_waitutil".

Did you mean: app_waituntil
2007 Dec 05
2
New feature: calling all bug marshals
...ase, > either "local" or "localtime". I've used "local" in my example above. > And > I read out the time first as GMT/UT (because I travel a lot), and then in > the > timezone of my PBX... > > -Philip > Philip, I just was looking over the app_waitutil.c and am confused you add 500 to tv.tv_usec on the line "msec = (future - tv.tv_sec) * 1000 - ((tv.tv_usec + 500) / 1000);"? Ryan
2007 Dec 05
0
New feature: calling all bug marshals
> In article > <15243.199.46.199.237.1196858285.squirrel at www.tailorhosting.com>, > Ryan Burke <burke at tailorhosting.com> wrote: >> >> I just was looking over the app_waitutil.c and am confused you add 500 >> to >> tv.tv_usec on the line "msec = (future - tv.tv_sec) * 1000 - >> ((tv.tv_usec >> + 500) / 1000);"? > > It's just doing a standard "round to nearest" integer division, by adding > half the divisor to the d...