On Fri, Jan 27, 2006 at 10:19:59AM +0200, Eugene Filatov wrote: > As we found before, "usleep" is thread unsafe on solaris 8. > what about using "poll" instead of "usleep"? > > Something like: > > poll(NULL, NULL, 1000); poll() takes a timeout value in milliseconds. That original code only waited 10 microseconds. '(void) poll(NULL, 0, 1);' seems to be more advisable. Kind regards -- Matthias Scheler http://scheler.de/~matthias/
Message
Re: [milter-greylist] milter-greylist-2.0.2 crash
2006-01-27 by Matthias Scheler