tibbe / event Goto Github PK
View Code? Open in Web Editor NEWA Haskell event notification library
License: BSD 2-Clause "Simplified" License
A Haskell event notification library
License: BSD 2-Clause "Simplified" License
What do we do if we get an error on a file descriptor. De-register it?
Neil Davies reports:
I note that you are using 'Double' as the abstraction of the current time of day (your 'now') - there is an issue with this - as time progresses the error increases and as you are basically subtracting a (small) difference between two (relatively large) numbers the absolute error increases."
Whenever I register two callbacks for the same file descriptor - for example, one for read and one for write - my process crashes. Please see this for an example program that exhibits this behavior: http://gist.github.com/359411.
This is the ./configure output for event: http://gist.github.com/359419. I'm running this on Mac OSX Leopard.
Here is the output from the attached program (after connecting to the open port with telnet):
$ ./EventCrash 2000
Before crash
EventCrash: <<loop>>
The dtruss output is here: http://gist.github.com/359433
In the referenced example I register once for read and once for write. However, I see the same behavior if I register twice for read and not at all for write.
I'm working from the latest master (git SHA1: f629d).
Let me know if you need any additional info.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.