> I would not be so assertive as Arno.

Really? As the person who wrote this file and as the main tasking expert
of GNAT, I think I can be so assertive on this topic.

> It seems to me (but I may be wrong) that
> s-taprop-linux.adb really only calls glibc and libpthread, not the
> kernel, and
> therefore should be called s-taprop-glibc.adb.  It looks like the
> kernel-specific calls are all in
> s-osinte-{linux,freebsd,kfreebsd-gnu}.ads,

No, s-taprop-linux.adb is only meant to be used under Linux and only
guaranteed to work under linux.

Using this file on non linux systems is bound to cause troubles and is not a
good idea.

If you're looking for a file shared among several platforms with a known
API, then as I said, using s-taprop-posix.adb is the way to go. That's what
I would do anyway if I were to port GNAT to kfreebsd properly.

Arno

Reply via email to