advice on making IceGrid work in QNX
I'm testing the patch I've posted here before.
One problem I have is that the IceGrid Node's activator uses fork() which in QNX-6 is only supported for single-threaded processes. fork() returns an error and a syscall exception is caught in Activator.cpp:674. This is POSIX-compliant behavior but unfortunately not very useful.
I can try to use spawn() or vfork(). From the documentation vfork() seems dodgy and both would probably be non-trivial to debug. So I wonder if the IceGrid designers would have some advice.
Should spawn() be able to do the job in this context or the activator relies on some state being passed to the child process?
thanks,
alex
Alex Makarenko
Marathon Robotics
project: multi-robot systems