2009/12/7 Mechiel Lukkien <mech...@xs4all.nl>: > i've attached devbuf.c and devjoin.c, as example (for inferno).
[saw this just after i'd posted] that's funny - you even chose the same device character for devbuf! to be honest, your devbuf.c is almost synomous with a pipe. for buffer sizes of <64K, writes on a pipe don't block.