I have a PCI 4 ch. CANbus-card that I’m writing a resource manager for.
When the card receives data on one of the channels it generates an interrupt indicating that data is available to read.
Currently I have registered “/dev/can0”, “/dev/can1”, “/dev/can2” and “/dev/can3” in the QNX filesystem
What I want is a client program to be able to do a select() to wait for data on any of the channels.
But I can’t figure out how to notify the resource manager that a data is available from my interrupt handler thread.
Any help would be greatly appreciated!