For discussion of realtime and/or embedded programming.


Postby lucaskar » Thu Nov 19, 2020 2:08 pm

Hello all,

I'd like to verify that an application was spawned with the SPAWN_CRITICAL flag.

If posix_spawn is used
rather than spawn, it is possible to determine what flags were used with the api posix_spawnattr_getxflags().

However, I'd like to verify the service was spawned with SPAWN_CRITICAL flag via another application. Any way of doing this other than killing the process and verifying the system crashes?
New Member
Posts: 1
Joined: Wed Aug 05, 2020 1:43 pm


Postby maschoen » Fri Nov 27, 2020 6:56 am

As I've not used QNX 7.04 I've not run into this flag before. You might want to check out pidin options to see if it is visible. If it is, you have two options. One would be to do a hack where you run pidin and scrape the information you need from its output. The other would be to dig in and find the API that pidin is using to get this information.
QNX Master
Posts: 2730
Joined: Wed Jun 25, 2003 5:18 pm

Return to Realtime and Embedded

Who is online

Users browsing this forum: Google [Bot] and 1 guest