mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
c51b4b5742
Add a new plugin for creating pipes between pairs of VFS handles. It is intended to replace the libc_pipe plugin, one of the last remaining libc plugins. In contrast to the libc_pipe plugin, this plugin defers cross-handle notification until I/O signal handling rather than block and unblock readers using a semaphore. This is a performance regression in the case of multiple threads blocking on a pipe, but shall be an intermediate mechanism pending renovations within the libc VFS and threading layers. As a side effect, threads blocked on a pipe might not be resumed until the main thread suspends and dispatches I/O signals. The "test-libc_pipe" test has been adjusted to use the VFS pipe plugin and tests both local pipes and pipes hosted remotely in the VFS server. Merge adaptations (such as EOF handling, adjustment to VFS/libc interface changes) by Norman Feske. Fix #2303
6 lines
77 B
Makefile
6 lines
77 B
Makefile
SRC_CC = plugin.cc
|
|
|
|
vpath %.cc $(REP_DIR)/src/lib/vfs/pipe
|
|
|
|
SHARED_LIB = yes
|