https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6253

--- Comment #8 from Mark Martinec <[email protected]> 2009-12-16 16:28:28 
UTC ---
Created an attachment (id=4602)
 --> (https://issues.apache.org/SpamAssassin/attachment.cgi?id=4602)
proposed patch

This patch should fix the timing issues on Solaris:
- avoid bad interaction between Time::HiRes::sleep and alarm on Solaris
  by using a select() to simulate delays in t/timing.t;
- avoid depending on alarm() returning a remaining time (some implementations
  just return a 0) by providing our own stack for nested timed calls;
- avoid using alarm() entirely for non-timed calls, thus leaving possible
  foreign running timer untouched

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to