HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed

Ed Schouten ed at 80386.nl
Tue Feb 17 12:05:10 PST 2009


* Maksim Yevmenkin <maksim.yevmenkin at gmail.com> wrote:
> its not all about speed. its about flexibility.

Yes, but abusing TTYs reduces flexibility. Once you're doing stuff in
user space, try to keep it there. There is no reason why one should
prefer to use pts(4) to exchange data between processes when pipes are
sufficient for the particular scenario.

Depending on pseudo-terminals makes your application less portable and
even less likely to work in the future. Just see what happened here.
FreeBSD now uses a more standard pseudo-terminal allocation interface
and stuff breaks.

TTY implementations have never proven to be portable at all.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090217/6474c608/attachment.pgp


More information about the freebsd-current mailing list