OK. Under 4.25 I remember you could register a task’s name using qnx_name_attach() and later retrieve this name to determine if your task was running.
I want to do the same thing under Neutrino. But I can’t seem to find qnx_name_attach() in my .h files.
I know it’s possible because when I do a ‘sin’ I see tasks with names like pterm, jed, sin etc.
So, the 64K question is, how is it done under Neutrino. Then, how can one detemine from a shell script (our start script) if the task is already running (I want to make sure it doesn’t get run again while first instance is still running because the hardware doesn’t seem to like that )
One thing I really miss in Neutrino is a physical set of QNX manuals. With 4.25 I used to have a very nice set of books covering the O/S and another set for the Watcom compiler with all C/C++ functions listed. I assume this must be on the web someplace for Neutrino but I can never locate it and using the help under Photon doesn’t seem near as easy as a reference book.