Re: NEWBEE "reverse ioctl" or someting like

Joseph Bueno (joseph.bueno@trader.com)
Thu, 03 May 2001 17:19:32 +0200


sébastien person wrote:
>
> Le Thu, 3 May 2001 08:46:05 -0400 (EDT)
> Mark Hahn <hahn@coffee.psychology.mcmaster.ca> à écrit :
>
> > > I think that use of pipe isn't preconised because I must fork process
> > > to use pipe,
> >
> > I guess you mean "because a user-level process would block on the pipe".
> > and you don't want to block. the alternative is to use a signal.
>
> yes but with a signal I am able to share data beetween user space and kernel
> space ? I must also use copy_to_user ?

You will not get any data with the signal but your user-level application
can use an ioctl when it receives this signal and get the data.

--
Joseph Bueno
NetClub/Trader.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/