linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* wait_queue's
@ 2002-12-03  8:01 Heinrich du Toit
  0 siblings, 0 replies; only message in thread
From: Heinrich du Toit @ 2002-12-03  8:01 UTC (permalink / raw)
  To: linux-c-programming mailing list

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-03  8:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-03  8:01 wait_queue's Heinrich du Toit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).