[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [realtime] Re: [rtl] RTAI experiences, or: The Cathedral and the Baazar, part #2
yodaiken@fsmlabs.com wrote:
[snip]
>
> See hrtime_t clock_gethrtime(clockid_t clock)
> and
> pthread_make_periodic_np
>
> Any problems with those?
Yes, pthead_make_periodic_np is not in any POSIX standard. For those
wishing to make their code portable, which is the primary purpose of
using a POSIX API, any calls suffixed _np will destroy this possibility.
IMHO, it would be better to stick with standard POSIX and use POSIX
clocks for timing. If this is too painful to users or people do not
want to use POSIX, the original NMT/RTAI API provides a simple
alternative.
Regards, Stuart.
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/