I have a parent process (which is a basic tcp server). This process calls gpioInitialise() before forking a child process which polls gpio pins for input. After forking the child, the parent process read()s a socket in a while loop. The parent also should be able to access gpio via the library.
Now, both processes will run in parallel and are polling for different events. However, when I try to access the library from the child, I get:
[code]2014-11-06 09:53:09 sigHandler: Unhandled signal 11, terminating[/code]
How can I solve this?