ualarm() in GUSI (the POSIX library we use for MacPerl) accepts microsecond intervals, as one expects, but converts positive intervals into milliseconds, and negative intervals into positive microseconds (well, ualarm() doesn't do it, but the Restart() method it calls does).
Apparently, this is an old Macintosh Time Manager convention, so you can specify in either milliseconds or microseconds. So ualarm() is going to be fixed, but it caused for some odd behavior in the meantime: Time::HiRes::alarm(1,
Now Playing: Tears In Heaven - Eric Clapton (Unplugged)
Milliseconds, Microseconds, Tomato, Tomahto 0 Comments More | Login | Reply /