wait_queue's
Hello
I'm busy writing a device driver.
This device driver exports one char device.
Now the problem it that when 2 programs try to write to this device at the same time... Well it works but they don't get queue fairly.
Both processes write's get blocked.. But for a long time in a row only one seem to write and the otherone stays block. I think the problem is that the kernel wait queue is a LIFO structure and not a FIFO
Anyway in which I could change it to a FIFO? or any other ideas?
Thanks
-Heinrich