9fans archive / 2006 / 09 / 330 prev next
From: Skip Tavakkolian <9nut@9ne...>
Subject: Help on /srv, named pipes
Date: Fri, 22 Sep 2006 09:40:48 -0700
> So I changed irc7/irc.c to read/write all traffic via /srv/glendairc and made ircsrv.c write to /srv/glendairc instead of /tmp/whatnot. Piece of cake.
except only one pending read of /srv/glendairc
will succeed. have you thought about putting an
fs in front of it? each client gets its own copy of
what comes from the network.
(user1) <-> fs/0/data \
(user2) <-> fs/1/data } <=chan(irc)=> proc(ircsrv/mux)
(user3) <-> fs/2/data /
i think there's an example in nemo's intro book.