What is the proper way to handle pigpio's initialization if there are multiple programs that need to run simultaneously?
Specifically, I have a background task which never quits, and must call gpioInitialise to monitor an IO pin. If I try to launch another program gpioInitialise fails with error -1 (presumably because it's already initialized). How should I handle this?