Hi...

On Wed, Sep 17, 2008 at 6:23 PM, Himanshu Chauhan <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Suppose I have a circular buffer in a driver and there are 3
> threads/processes sleeping for the data in it. Now when data arrives in
> circular buffer and I post a wakeup, what will happen? Only one of the
> thread would be able to read from the buffer and other would be put to
> sleep. So the other two will never get it.
>
> how can this be taken care of?

simulate something like system V IPC? I mean (well never use it in
kernel space), use pipe or shared memory and make it as a way to pass
data between processes.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to