On Wednesday, 23 May 2012 00:30:29 UTC+5:30, Sebastian  wrote:
> I'm going to discover more in detail how input event processing works in b2g. 
> I'm stuck at the delegated call to ProcessNextEvent() in nsAppShell.cpp. What 
> I hope to know right so far is the following:
> 
> 
> 
> Gonk handles input events such as a key press to the GeckoInputDispatcher 
> which is referenced by the Gonk AppShell. Via mozilla::ProcessNextEvent() 
> Gecko is able to get such an event. What it does is to call 
> nsAppShell->ProcessNextNativeEvent(true) which will then blocks at:
> 
> 
> 
> if ((event_count = epoll_wait(epollfd, events, 16,  mayWait ? -1 : 0)) <= 0)
> 
> 
> 
> Who is putting events into the epollfd then so that the thread continues 
> working?

Can u Please share any flow diagram of handling the input events in b2g for 
Kernel to Gecko layer
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to