Subject: Re: struct emul modification
To: =?ISO-8859-1?Q?Jarom=EDr_Dolecek?= <jdolecek@netbsd.org>
From: Emmanuel Dreyfus <p99dreyf@criens.u-psud.fr>
List: tech-kern
Date: 05/17/2001 23:31:26
> Well, generally, other solution would be preferable. Wouldn't it
> be possible to add come completely compat/linux specific code
> to catch the signal and do not actually post it to Linux process
> if the descriptor is a pipe? 

Yes we can do that, but signal delivering is done in architecture
dependent files, hence we would have to do it for alpha, m68k, i386 and
powerpc. Then, we will have to also do it for FreeBSD and Solaris
emulations, because the problem is not Linux specific.

We would end up with a lot of code duplication in machine dependant
files, and I am not sure this would be right.

> I'd hate to add some stuff which
> would become obsolete the moment newpipe would go in.

As Christos said, we do not want to alter the current NetBSD native
behavior when adding newpipes, so we want to modify newpipes to get
async I/O.

-- 
Emmanuel Dreyfus
p99dreyf@criens.u-psud.fr