I implemented a thread lock around wait_for_edge and work done in my thread and have...
Looking into it, it looks like it occurs when py_wait_for_edge() in py_gpio.c executes...
wait_for_edge with external thread causes Error #5 waiting for edge