fork of 9front i guess
Go to file
cinap_lenrek a28bdd3e1f cwfs: fix out of order replies
using a shared reply queue and a pool of worker procs does
result in replies to be send out of order under some conditions.
the symptoms are mnt errors when interrupting requests (Rflush
arriving before the original requests response).

this change gives each connection its own reply queue and its
own srvo process. so now a connection consists of one reply
queue, a srvi process reading the connections file descriptor
and a srvo process reading the reply queue and writng replies
to the connections file descriptor.

the srvi processes live as long as the connection is established.
the srvo prcoesses live forever and are attached to the chan
(which gets reused).

to avoid excessive process creation, we limit the number of
connections to 30. srvchan() returns nil when all 30 network
channels are in use.
2013-08-08 01:07:01 +02:00
386
68000
68020
acme acme: fix more error messages 2013-04-28 00:19:35 +02:00
adm/timezone add Uruguay timezone (from sources) 2013-01-25 14:13:01 +01:00
alpha
amd64
arm
lib fortunes: God bless the people who employ you, they need the blessing. 2013-08-06 14:52:13 -04:00
mips
power
power64
rc ups: fix typo 2013-08-06 21:38:56 -04:00
sparc
sparc64
sys cwfs: fix out of order replies 2013-08-08 01:07:01 +02:00
.hgignore hgignore: ignore stuff in /lib/rfc 2013-06-09 11:16:33 -04:00