Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/bsd/atf/dist/atf-run



On Dec 19,  5:00pm, jmmv%NetBSD.org@localhost (Julio Merino) wrote:
-- Subject: Re: CVS commit: src/external/bsd/atf/dist/atf-run

| Interesting; didn't know about these.
| 
| But what's the point of this change?  It breaks OS X at least and does not
| fix anything AFAICT.

I am just trying to use modern POSIX API's to improve portability
(and functionality in this case). For example, by using sigevent,
one doesn't need to have global variables and he can pass the struct
he wants to modify in the signal. In addition, one can use the
monotonic clock, which is immune against time changes, and also
use timespec which is more precise. Finally one is not limited to
sigalrm for timers, but can send any signal. I am really suprised
that OS/X does not have them; I would have expected it to work on
more systems than it does currently...

christos


Home | Main Index | Thread Index | Old Index