Johan Borkhuis wrote:
> void timeStampGet(clockid_t which_clock, struct timespec *curtime)
> {
> unsigned long lo, hi, hi2;
> unsigned long long tr;
> long double tmpVal;
>
> if(hwtimer == 0)
> {
> clock_gettime(which_clock, curtime);
If you do not compile for Xenomai posix skin (i.e. passing
-Wl,--wrap,clock_gettime -lpthread_rt to gcc), this causes a switch to
secondary mode.
--
Gilles Chanteperdrix
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help