lynxos

Using Visual Studio 2005 for buliding LynxOS applications

Hi, I am trying to build application for LynxOS (Hard Real time OS). The best method so far is to use an add on called VisualLynx which attach itself to VS 6.0 and replaces its make system with its on cross compiler linker etc. VS 6.0 is a real pain to use, so I wanted to use VS 2005 but it seems there is no add on for VS 2005. Is there ...

Posix evtsuspend equivalent

I am migrating a LynxOS program to an ubuntu distribution and gcc 4.1.3 I am almost done but I have a problem, I am receiving SIGALRM signal which forces my program to exit. I dont know why I am receiving this signals if I am not calling to alarm(x). I roundabouted this with a sigaction, but my program is not working properly mq_receiv...

How do I synchronize access to shared memory in LynxOS/POSIX?

I am implementing two processes on a LynxOS SE (POSIX conformant) system that will communicate via shared memory. One process will act as a "producer" and the other a "consumer". In a multi-threaded system my approach to this would be to use a mutex and condvar (condition variable) pair, with the consumer waiting on the condvar (with pt...

Condition Variable in Shared Memory - is this code POSIX-conformant?

Does the POSIX standard allow a named shared memory block to contain a mutex and condition variable? We've been trying to use a mutex and condition variable to synchronise access to named shared memory by two processes on a LynuxWorks LynxOS-SE system (POSIX-conformant). One shared memory block is called "/sync" and contains the mutex ...