Frank, thanks for the response, what i meant by event is something like wait_event_interruptible in user mode which can be "waken_up" by a kernel thread triggered by an interrupt ... also feel free to correct me if required as i m pretty much a newbie in ring-0. also if some i could get some info on a "ghost thread" creation under a processes context that just executes a userland function (of course supplied by itself ) and dies, it would be great ... this could be a means of implementing "deferred async callbacks" to userland. thanks tikare >From: Frank Schaefer <frank.schafer@setuza.cz> >To: kernelnewbies@nl.linux.org >Subject: Re: userland shared events & callbacks >Date: 27 Mar 2002 06:05:00 +0100 > >On Tue, 2002-03-26 at 23:40, A Einstien wrote: > > Hi ppl, > > i want to use an event to synchronize between a kernel thread and >various usermode > > processes, the problem is i dont know how do i create >userspace<--->kernelspace shared > > events, pls point me to anything important. > > also, if it possible to make callbacks from kernel to userspace code >that could be scheduled > > for later execution ( something like NT iocompletion async callbacks, >though i m not sure they > > r same), i would want to explore that as well. any help or even pointers >to kernel source which > > i can hack to make such "deferred callbacks" (of course executing under >the registering processes > > context) would be greatly appreciated. > > thanks > > amit tikare > > >Hmm, >sounds interesting, but can you please tell me what you're calling >EVENT? There is a lot of IPC syscalls out there, but EVENT isn't part of >IPC. > >Regards >Frank > >-- >Kernelnewbies: Help each other learn about the Linux kernel. >Archive: http://mail.nl.linux.org/kernelnewbies/ >FAQ: http://kernelnewbies.org/faq/ > _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/