Re: NEWBEE "reverse ioctl" or someting like

From: Joseph Bueno (joseph.bueno@trader.com)
Date: Thu May 03 2001 - 10:19:32 EST


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/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:17 EST