Resource acquiring by contending processes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

Thanks

Best Regards
--Himanshu

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux