Questions tagged [lynxos]

This tag refers to the LynxOS family of Real Time Operating Systems (RTOS) sold by LynuxWorks.

LynxOS is a family of commercially available RTOS sold by LynxWorks. The main variants are:

  • LynxOS
  • LynxOS-178
  • LynxOS-SE
  • LynxSECURE

When asking your questions, please specify which variant, the version, and what processor architecture you are using.

17 questions
14
votes
4 answers

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…
GrahamS
  • 9,980
  • 9
  • 49
  • 63
10
votes
3 answers

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…
GrahamS
  • 9,980
  • 9
  • 49
  • 63
7
votes
1 answer

Lua behaves weird on PowerPC/LynxOS platform, why?

I choose Lua 5.1 as my application's embedded scripting language, but when I port the application to a legacy platform runs LynxOS on PowerPC, thing seems going wrong. I get following code run up on PC and every thing looks good: void test_lua() { …
Haiyuan Li
  • 377
  • 2
  • 10
3
votes
1 answer

SqLite3 NFS mount issue with locking - can I use something like CIFS nobrl?

I'm having a locking problem where an SQLITE3 databse is permanently locked when created on an NFS file system. I have read that an option called nobrl can help this issue when the file system in question is CIFS. (its an option to the mount…
John Humphreys
  • 37,047
  • 37
  • 155
  • 255
3
votes
3 answers

how to validate a pointer using built in functions other than a NULL check?

During a discussion today I came across that there are checks in the VxWorks and in LynxOS which tells you that the address you assign for a pointer is from a valid range. This the first time I am hearing about this code like I assign int…
achoora
  • 1,270
  • 1
  • 16
  • 32
2
votes
0 answers

Developing Qt apps for LynxOS 7.0

I am new to LynxOS can any one give some ideas/suggestions for below questions: Which Qt version can be used to develop applications for LynxOs 7.0. Proper documentation to build and setup Qt (Qt creator, Qt kits : Compiler etc) for LynxOS 7.0.
pra7
  • 834
  • 2
  • 21
  • 50
2
votes
2 answers

LynxOS strtod not the same as Linux

It seems that LynxOS's implementation of strtod doesn't handle all the same cases as that of Linux, or for that matter Solaris. The problem I have is that I am trying to parse some text that can have decimal or hexadecimal numbers in it. On Linux I…
LordOphidian
  • 178
  • 9
2
votes
0 answers

Thread safety on libc calls on LynxOS 2.4

I'm right now doing a project on LynxOS 2.4, and I have several calls made by multiple threads to some C standard libraries. Among the functions that I need to control are, mainly, file operations such as 'open', 'read' and 'write'. Now, in all…
cgledezma
  • 612
  • 6
  • 11
1
vote
0 answers

Lynx Luminosity (Eclipse) error "The chosen operation is not currently available."

Clicking any item in the "Lynx" menu results in an Information popup box with the message "The chosen operation is not currently available." Versions: Luminosity 5.1.0 Eclipse 4.4.0 Seems to be the same problem with an Eclipse plugin not loading…
Paul
  • 663
  • 7
  • 11
0
votes
1 answer

Using Visual Studio 2005 for buliding LynxOS applications

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…
Rohit
0
votes
0 answers

CMake fails at command line but can manually build makefile

I am attemping to use CMake to configure/build for a very old version of LynxOS (2.2.2) and have gotten to the point where it is generating a makefile however I am getting the following error when running cmake: cmake --debug-trycompile -G "Unix…
Big Guy
  • 33
  • 6
0
votes
0 answers

Finding Physical page number from the virtual address of kernel BSS section

I am using 32-bit x86 architecture, I have taken one global variable in kernel space, so memory for that variable will be assigned in the BSS section of kernel's virtual memory. now I have a virtual address of that global variable and using that…
0
votes
0 answers

g++ 2.9-gnupro-98r2 ,error: Internal compiler error

I am facing a compilation error with one g++ version (2.9-gnupro-98r2)for LynxOS-178B 2.2.2, whereas the same code will be compiled without complaints with a newer version of g++, e.g. 4.3.3 for VxWorks 653 2.4.0.2. The following example illustrates…
Anu
  • 19
  • 4
0
votes
2 answers

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…
zitronic
  • 49
  • 8
0
votes
1 answer

Mechanism to capture data from a remote server

We have an embedded system which has lynx OS as the underlying Operating system upon which we have a virtual machine installed which runs java programs. Now i need to capture the process running and memory utilization of the base OS as well need a…
Mr.Green
  • 274
  • 1
  • 3
  • 15
1
2