This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to get interrupts triggered by GPIO inputs for beaglebone black?

I am building a small particle detector and want to process the output signals from the photo-multiplier tubes on a beaglebone black. I would like to generate interrupts when the signals come in to any two GPIO pins. Does anybody have a sample code I can look at for generating interrupts?