On 08/03/2011 03:31 PM, Sambasiva Rao Manchili wrote:
> Hi Gilles,
> I had seen the code in src\skins\vxworks\semLib.c it returns ERROR which is
> -1.
>
> The value that I sent earlier is the value that I got out of the following
> statement.
> serrLog( serrErr,
> "resu_getonline_1_svc: semTake for restab_access_smp
> failed!!<%s>",
> strerror(errnoGet()));
>
> Is it right ?
You want printErrno instead of strerror.
>
>
> Now again I tried with
> serrLog( serrErr,
> "resu_getonline_1_svc: semTake for restab_access_smp
> failed!!<%s> <%d>",
> strerror(errnoGet()), errno);
>
> Here I get value 1 for errno.
1 is EPERM. Is the thread issuing the call a thread created by Xenomai?
--
Gilles.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help