Questions tagged [qnx]

QNX mainly known as a Real-Time Operating System that is both full-featured and robust, but can also scale down to meet the constrained resource requirements of realtime embedded systems. It features a UNIX like environment, microkernel based design and POSIX compliance. There are other software products that now carry the name QNX.

QNX is the name of a family of products focused on real time and safety critical embedded systems written by QNX Software Systems. It is most widely associated with the Real Time Operating Systems of the same name, but their portfolio has expanded to include development systems, middleware and services under the name QNX. Some examples include:

RIM own QNX Software Systems and their development tools, such as the QNX Momentics IDE (based on Eclipse) and qcc compiler (based on gcc), are provided as the Native Development Kit for the Blackberry Tablet. The Blackberry Tablet OS runs on top of the QNX Neutrino RTOS.

Software going under the name of QNX

RTOS

QNX is most famous for being the Real Time Operating System of which there are two versions: QNX RTOS v4 is an older product but is still used in many existing systems and still supported by the company. More recently QNX Neutrino RTOS (v6) was released. It is based on a microkernel architecture, modular design and message passing to make it robust and scalable.

HMI and Graphics

QNX Core Graphics provides underlying libraries that developers can target for hardware accelerated 2D and 3D rendering with little CPU overhead (based on OpenGL ES) or the need for screen/widget builder tools.

QNX Photon microGUI is a windowing system for small embedded HMIs providing the developer with a widget toolkit, callback based event handlers and remote graphical connections via Phindows.

Multimedia

QNX Aviage is a pair of frameworks for multimedia applications and acoustic processing. The multimedia suite allows you to create anything from simple media players to in-car entertainment systems. The acoustics processing suite focuses on improving voice communications (such as in-car telephony) and recognition.

Development Tools

QNX Momentics is the name of the development suite that QNX provides to target its RTOSes and libraries. It is based on Eclipse as the IDE and gcc as the toolchain, but there are many other tools included such as a system builder (for building and configuring your embedded system image), application/system profiler and memory analysis.

What kinds of questions should have this tag?

This tag should be applied to questions which are asking about programming for the QNX RTOSes, using the QNX development tools or are programming against the QNX libraries, middleware APIs or frameworks.

Questions about using the QNX development software to target the Blackberry Tablet OS Native development kit are suitable for this tag. Questions specifically about the Blackberry Tablet OS should probably not have this tag unless you are coding directly against the underlying QNX Neutrino RTOS APIs.

Important Links

495 questions
-1
votes
1 answer

Why is my program with pthreads taking longer than the sequential one

I'm relatively new to multithread programming. I wrote a program which is calculating the squares from 0 - 10000 and saving them into an array. The sequential program is running much faster than the parallel. In my parallel program I have divided …
JohnDoe
  • 825
  • 1
  • 13
  • 31
-1
votes
1 answer

qnx os learning path & automated drive

I am flutter developer and i think to learn qnx os and its automation usage and etc ; I search lot about it and , but did't found something good about it; Please provide me a Learning path to it
Akbar Masterpadi
  • 976
  • 8
  • 15
-1
votes
1 answer

С.Creating threads

the task is as follows: Write a program that takes as parameters a set of data file names (an arbitrary number) and runs all files for parallel processing (using threads). As a processing, use the sorting method (quickSort). I ran this program…
user17059077
-1
votes
1 answer

Which path for C++ in QNX7 should be included?

There are existing two include paths(5.4.0, v1) and two libraries(libstdc++, libc++) for C++ project in QNX7. When using v1 path, it looks like libc++ should be used only. I want to know the difference of them and features.
-1
votes
1 answer

C++ converting from string to long double loses precision in QNX

When converting strings to long double I lose precision in QNX. Do you know how to fix this problem? I am using c++. I have tried double and float and there were no problems. #include #include #include #include…
I. Hamad
  • 307
  • 2
  • 14
-1
votes
2 answers

RIM Blackberry Playbook to Access Android Apps in QNX? Will it work? What will experience be like?

I am trying to figure out how feasible Blackberry's rumored intent to have the Playbook tablet access the Android App store will be. There have been several news/blog reports on this matter, but i haven't seen any feedback from the app developer…
-1
votes
1 answer

C Signal Handler professor example explanation

My QNX class notes has this example, I cant seem to figure out how my prof came up with that output. Can anyone explain this to me thoroughly? When this program runs the parent process has a PID of 1234 and the child process has 5678. Output 5678:…
bob smith
  • 63
  • 8
-1
votes
1 answer

std::ptrdiff_t' has not been declared

I have made my own source file, and I'm trying to add stddef.h. At compiling I have the following error: std::ptrdiff_t' has not been declared. What I've done wrong?
infernalcucumber
  • 103
  • 1
  • 12
-1
votes
1 answer

How to fix floating point precision for QNX?

static const double sKPrecision = 1.e+16; std::sprintf(str, "%1.15e", round(val * sKPrecision) / sKPrecision); Observation: val str for Linux str for QNX -0.174533 -1.745329251994333e-01 -1.745329251994333e-01 1.06202 …
Swapnil
  • 1,424
  • 2
  • 19
  • 30
-1
votes
1 answer

Segmentation fault on recvfrom call

I have a UDP server implementation , Where i am getting Segmentation fault on recvfrom call. #define SIZEOF sizeof #define PKTSIZE 65535 char tmp_buf[PKTSIZE]; struct sockaddr_storage tmp_from; int tmp_fromlen = 0; int tmp_bytes; tmp_bytes…
agnel
  • 631
  • 1
  • 7
  • 9
-2
votes
1 answer

how to get a.out file?

I have created a program in the ide and want to get a.out file. But after executing the command, I didn't find anything in the project folder.What's wrong? UPD upd UPD4: i found this file , but now i can't execute it...
user17059077
-2
votes
2 answers

Program crashes trying to create ofstream or fopen

I don't have enough reputation points to comment to ask if they solved the problem originally stated here. I have the same problem of the program crashing in construction of an ofstream. It is not multi-threaded access, but it can be called in…
ozzylee
  • 181
  • 1
  • 15
-2
votes
1 answer

what is the error in the below code of c timestamp?

double GetTimeStamp() { struct timespec start; if((clock_gettime( CLOCK_MONOTONIC, &start)) == -1 ) { perror("clock gettime\n"); } return start.tv_sec + start.tv_nsec * 1e-9; //seconds } MAIN.c: uint64_t…
-3
votes
1 answer

How to mount a CD with QNX on a virtual machine

I'm trying to mount an iso image on my Virtual Machine running QNX. How do I do this? I'm using VMWare Player. I've loaded the iso file under player > removable devices > cd/dvd > settings, but I can't find it in my QNX file system. I'm new to QNX,…
GreySage
  • 1,153
  • 19
  • 39
-4
votes
2 answers

How to create this process tree using fork()?

first of all i would like to ask you how to create this process tree listed below with using only fork() function. |____1____ |___2__ | |_4_ | |_3_ | | | | | #include #include #include int main() { if…
SNAREGOD
  • 13
  • 6
1 2 3
32
33