Re: eventfd use

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

 



Hi,

I've been using eventfds to coordinate between userspace threads
without any problems. I think that's relevant, although I've never
tried eventfds with one end in the kernel.

Specifically, I've been using multiple EFD_SEMAPHORE eventfds all
added to the same epoll. These are used to communicate between threads
that read messages from various sources and a main thread which
processes all of them. This means all the threads need to be the same
priority, which also avoids any possibility of priority inversions via
the eventfds, so I have no idea if priority inversions are a potential
problem or not.

Hope this helps,
Brian Silverman
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux