Brian Cooke

Results 72 comments of Brian Cooke

What version of Electron are you using? I haven't used Electron myself but to the best of my knowledge, native modules such as epoll that are not "Context Aware" will...

I guess it would make sense to migrate from NAN to N-API to resolve this issue. @David-University do you use Electron on a Raspberry Pi (or similar)? I don't have...

>I think the interrupt detection job is somewhat put to background or something that's why it can't properly detect the pulses when there is no activity for some time. I...

Let's leave the issue open. I'll take a closer look at some point to see if something goes wrong when the process is inactive for a long period of time....

@adonespitogo above you mention the following: > I think the interrupt detection job is somewhat put to background or something that's why it can't properly detect the pulses when there...

Thanks for the information. I'll implement a stress test and run it for a several hours to see what happens. The pulses from the coin acceptor could be generated by...

After some experimentation I think the most likely cause for failing to detect some of the pulses from the coin acceptor is blocking synchronous code. [coin-acceptor.c](https://github.com/fivdi/epoll/blob/master/test/coin-acceptor/coin-acceptor.c) is a program that...

epoll has its own thread for detecting events. The code in this thread could be modified to queue events for later processing. Events that occur when blocking JavaScript synchronous code...