Please suggest a way to synchronize tasklets.

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

 



Hello there,

Environment is embedded Linux 2.4.18.

Context is driver mapped on one interrupt coming from 40 possible
sources - everything being multiplexed by a FPGA.

When the interrupt triggers the driver reads three FPGA registers to
discover the interrupt source. For each source it spawns a tasklet which
deals with the data transfer. The driver_interrupt_routine disables the
interrupt by masking it. The last living tasklet should re-enable (un_mask) the
interrupt.

Problem: In the tasklet context how to find out if this tasklet is the last
living one?

Thanks for your kind suggestions.

StephanT.

[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