Discussion:
[Chicken-users] new egg: simple-timer
Jörg F. Wittenberger
2018-11-24 20:59:08 UTC
Permalink
Hi all,

I packages a new new: simple-timer

https://raw.githubusercontent.com/0-8-15/simple-timer/master/simple-timer.release-info

This is intended as the one-stop shopping for low level plumping of the
background threads every other egg needs to put at the core's timeout
queue. (Either because it needs roughly correct time signals or evade false
deadlock detection.)

I hope this could help with is the hell of reasoning about the timeout
queue in an application using several such eggs at the same time: At least
the boring timeouts are under a single umbrella.

Right now it is just the code the `forcible` egg uses under the hood so
far. (Which would be the first candidate to switch. ;-)

Best Regards

/Jörg
Mario Domenech Goulart
2018-11-24 21:28:40 UTC
Permalink
Hi Jörg,
Post by Jörg F. Wittenberger
I packages a new new: simple-timer
https://raw.githubusercontent.com/0-8-15/simple-timer/master/simple-timer.release-info
This is intended as the one-stop shopping for low level plumping of
the background threads every other egg needs to put at the core's
timeout queue. (Either because it needs roughly correct time signals
or evade false deadlock detection.)
I hope this could help with is the hell of reasoning about the timeout
queue in an application using several such eggs at the same time: At
least the boring timeouts are under a single umbrella.
Right now it is just the code the `forcible` egg uses under the hood
so far. (Which would be the first candidate to switch. ;-)
Thanks.

It looks like the egg doesn't specify a test dependency on the test egg,
which is used by the test suite:

Error: (import) during expansion of (import ...) - cannot import from
undefined module: test

All the best.
Mario
--
http://parenteses.org/mario
Jörg F. Wittenberger
2018-11-25 17:21:29 UTC
Permalink
Thanks Mario,

I tagged a better version.

Best

/Jörg
Post by Mario Domenech Goulart
Hi Jörg,
On 24 Nov 2018 21:59:08 +0100 Jörg F. Wittenberger
Post by Jörg F. Wittenberger
I packages a new new: simple-timer
https://raw.githubusercontent.com/0-8-15/simple-timer/master/simple-timer.release-info
This is intended as the one-stop shopping for low level plumping of
the background threads every other egg needs to put at the core's
timeout queue. (Either because it needs roughly correct time signals
or evade false deadlock detection.)
I hope this could help with is the hell of reasoning about the timeout
queue in an application using several such eggs at the same time: At
least the boring timeouts are under a single umbrella.
Right now it is just the code the `forcible` egg uses under the hood
so far. (Which would be the first candidate to switch. ;-)
Thanks.
It looks like the egg doesn't specify a test dependency on the test egg,
Error: (import) during expansion of (import ...) - cannot import from
undefined module: test
All the best.
Mario
Mario Domenech Goulart
2018-11-25 19:39:15 UTC
Permalink
Hi Jörg,
Post by Jörg F. Wittenberger
Thanks Mario,
I tagged a better version.
Thanks. I've added your egg to the coop.

All the best.
Mario
--
http://parenteses.org/mario
Loading...