Re: wait_evnet() can't be waked up in interrupt handler???

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

 



On Thu, Jul 10, 2003 at 01:22:44PM +0800, =?ISO-8859-1?Q? =B0=D7=BD=F0=B8=D5 ?= wrote:
>     The question is the wait_event_interruptible() can't be waked up in some
> interrupt, and also set the condition to be true, then wake_up() the process,
> if there is still some race condition? what should I do?

On a first glance, I don't see the race condition you're worried about;
of course, you've got to be a little concerned with the off-chance that
two or more interrupts will arrive before your my_write() function gets
called to handle the situation -- so, keep that in mind.

-- 
Join the fight against terrorism by giving up your liberties today!

Attachment: pgp00473.pgp
Description: PGP signature


[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