9fans archive / 1995 / 12 / 39 / prev next From: forsyth@pla... forsyth@pla... Subject: APE collides in select rendezvous Date: Mon, 11 Dec 1995 14:10:18 -0500 vortex% diff old /sys/src/ape/lib/ap/plan9/_buf.c 59c59 < _RFORK(RFREND); --- > _RFORK(RFNAMEG); /* ideally, RFREND */ RFREND is defined in ap/plan9's sys9.h, but isn't in plan 9 as distributed RFNAMEG will just have to do. the symptom is that an APE program that uses select but also forks and execs another program using select will end up with one side or the other, or both, being confused when the rendezvous calls clash.