From: Sambasiva Rao Manchili Date: Wed, 3 Aug 2011 12:15:52 +0200 Message-ID: <509DA52866E38F47878413CF102D751FD4207794F0@domain.hid> Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_509DA52866E38F47878413CF102D751FD4207794F0poseidonnexus_" MIME-Version: 1.0 Subject: [Xenomai-help] Xenomai VxWorks Skin--->semTake List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Xenomai-help@domain.hid" Cc: Antonio Gambin --_000_509DA52866E38F47878413CF102D751FD4207794F0poseidonnexus_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hallo , Most of code containing semTake with (WAIT_FOREVER ) ported from VxWorks t= o Linux using Xenomai is working, but only the following semTake is always = failing. 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 =3D semMCreate (SEM_Q_PRIORITY | SEM_DELETE_SAFE | SEM_INVERSION_SAFE)) =3D=3D 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: sambasiva.manchili@domain.hid Website: www.nexustelecom.com [cid:335065507@domain.hid] ________________________________ This email and any attachment may contain confidential information which is= intended for use only by the addressee(s) named above. If you received thi= s email by mistake, please notify the sender immediately, and delete the em= ail from your system. You are prohibited from copying, disseminating or oth= erwise using the email or any attachment. --_000_509DA52866E38F47878413CF102D751FD4207794F0poseidonnexus_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Ha= llo ,
Mo= st of  code containing semTake with (WAIT_FOREVER ) ported from V= xWorks to Linux using Xenomai is working, but only the following semTake is= always failing.
 
For Example:-
semTake( restab_access_smp,&nbs= p;1200).
 
Semaphore created successfully and exists.
Any reason and any hint?
 
Semaphore created without ERROR as follows.
if ((restab_access_smp =3D semMCreate (SEM_Q_PRIORITY | SEM_DELETE_SAFE=
           | SEM_INVERSIO= N_SAFE)) =3D=3D NULL)
{
   ERROR
}
 
Thanks,
Samba.
 
 
Sambasi= va 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: sambasiva.manch= ili@domain.hid
Website: www.nexustelecom.com

  3D""
 


This email and any attachmen= t may contain confidential information which is intended for use only by th= e addressee(s) named above. If you received this email by mistake, please n= otify the sender immediately, and delete the email from your system. You are prohibited from copying, disseminating= or otherwise using the email or any attachment.
--_000_509DA52866E38F47878413CF102D751FD4207794F0poseidonnexus_--