Philippe Gerum wrote:
 > Matthieu wrote:
 > > Im currently porting a VxWorks Application in SuSE Linux patched with
 > > Xenomai. I encounter some problems with the taskLib.h emulation. Indeed,
 > > Ive got an error concerning WIND_TCB structure. I think that not the
 > > whole structure is implemented or maybe its implemented by Xenomai
 > > Native API and not VxWorks skin.
 > >
 > 
 > Implementing the whole WIND_TCB structure is out of scope. Most of the fields
 > you attempt to access in your app are dependent on the VxWorks innards, 
 > which is
 > meaningless in an emulation environment. You can emulate the others (or their
 > meaning) fairly easily (e.g. pStackBase and status).
 > 
 > > Here are extracts of Code.c:
 > >  #include <vxworks/vxworks.h>
 > >  WIND_TCB * pTcb;
 > >  pTcb->entry
 > >  pTcb->lockCnt
 > >  pTcb->pSignalInfo->sigt_blocked

... And you may access signal mask with the posix pthread_sigmask
service (if the first sigset_t pointer is NULL, the "how" argument is
ignored, and the only effect of the service is to copy the current
signal mask).

-- 


                                            Gilles.

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

Reply via email to