On Wed, 2011-08-03 at 12:15 +0200, Sambasiva Rao Manchili wrote:
> Hallo ,
> Most of code containing semTake with (WAIT_FOREVER ) ported from
> VxWorks to Linux using Xenomai is working, but only the following
> semTake is always failing.
Your description is a bit terse. Failing how? Hangs, returns
immediately? Crashes your board? If not, any error code reported by the
skin?
And rehashing a previous question which was not answered IIRC: what
CPU/platform are you running on, beside "linux 2.6.37" which does not
help enough? What Xenomai version?
Please make sure to send any relevant information that may help
reproducing the issue, this tends to convince people to actually have a
look at it.
>
> For Example:-
> semTake( restab_access_smp, 1200).
>
> Semaphore created successfully and exists.
> Any reason and any hint?
>
> Semaphore created without ERROR as follows.
> if ((restab_access_smp = semMCreate (SEM_Q_PRIORITY | SEM_DELETE_SAFE
> | SEM_INVERSION_SAFE)) == NULL)
> {
> ERROR
> }
>
> Thanks,
> Samba.
>
>
> Sambasiva Rao Manchili
> Software Development Engineer
> ________________________________
>
> NEXUS TELECOM AG
> Network and Service Investigation
>
> Feldbachstrasse 80
> 8634 Hombrechtikon
> Switzerland
>
> Direct/mobile: +41 78 750 6808
> Main: +41 44 355 6611
> Email: [email protected]
> Website: www.nexustelecom.com
>
>
>
>
>
> ______________________________________________________________________
> This email and any attachment may contain confidential information
> which is intended for use only by the addressee(s) named above. If you
> received this email by mistake, please notify the sender immediately,
> and delete the email from your system. You are prohibited from
> copying, disseminating or otherwise using the email or any attachment.
> _______________________________________________
> Xenomai-help mailing list
> [email protected]
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help