Gilles Chanteperdrix wrote:
> 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.
> 

As far as I understood, the test runs with -h, ie. without running into
that case.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to