RE: WaitForMultipleObjects/etc. In Kernel
From: Clemens Ladisch
Date: Wed Jan 29 2014 - 03:30:49 EST
Network Nut wrote:
>I was looking at POSIX because it allows naming of the primitives.
Linux uses two orthogonal mechanisms for synchronization
primitives and for naming/sharing.
>I need to epoll_wait on inter-process {mutex, event, semaphore}.
Use eventfd.
>I need to reference inter-process {mutex, event, semaphore}, each
>identified
>by string, if feasible.
Send the fd through a Unix domain socket.
Regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/