I have been trying to find a good example of GPIO Input where a thread blocks until input changes.
Are these any such examples ? Is it even possible ? I have looked at Derek Molloy’s code it is
polling file in a tight loop.
Certainly there has to be another way of doing the GPIO input more efficiently?