Tristan B. Velloza Kildaire
86cfbdba83
Update README.md
2 months ago
Tristan B. Velloza Kildaire
999681cc01
Create d.yml
2 months ago
Tristan B. Velloza Kildaire
8d75e21055
Updated
6 months ago
Tristan B. Velloza Kildaire
0b56db2567
Added missing links
6 months ago
Tristan B. Velloza Kildaire
c70fa62d22
Updated .gitignore
6 months ago
Tristan B. Velloza Kildaire
7621ee5343
Completely overhauled Eventy system for the v0.4.0 release
...
Removed the event-loop for a better system (for now) whereby we just dispatch signal handlers on the call to `push(Event)`.
In a future release I hope to bring the event loop back but in a signal-based manner, such that we can support deferred events and priorities and such
6 months ago
Tristan B. Velloza Kildaire
6392c92349
Cleaned up
6 months ago
Tristan B. Velloza Kildaire
28d64f799e
Switch back to YIELD HoldOffMode for now (gives best performance)
...
We will have to investigate load average highness and ways to deal with it later
6 months ago
Tristan B. Velloza Kildaire
cc75eefa15
Try 50ms
6 months ago
Tristan B. Velloza Kildaire
e75e3f732d
Added missing `eventy.config` import to the `package.d` module
6 months ago
Tristan B. Velloza Kildaire
4fed9fc780
Added missing comment to config.d
6 months ago
Tristan B. Velloza Kildaire
5bbb6d804a
Added last missing doc header to a method in engine.d
6 months ago
Tristan B. Velloza Kildaire
6cfaa9824e
Added missing comments
6 months ago
Tristan B. Velloza Kildaire
00b8eb82be
Removed redundant imports
6 months ago
Tristan B. Velloza Kildaire
a501de15d3
Removed commented out code
...
Moved testing imports within each unit test
Added a new unit test which tests the yield-based HoldOffMode
Neteaned up imports
6 months ago
Tristan B. Velloza Kildaire
59d0253b61
Implemented `agressiveTryLock` check so the user can choose whether or not to yield if a fail to grab the lock occurs
6 months ago
Tristan B. Velloza Kildaire
3603c567e8
Removed deprecated `setSleep(Duration)`
...
Added `getConfig()/setConfig(EngineSettings)` to retrieve and update the configuration of the Engine on the fly
Privated `getTypes()` method for now as it is not implemented yet
6 months ago
Tristan B. Velloza Kildaire
be44514a51
Cleaned up `shutdown()` and added some TODOs
6 months ago
Tristan B. Velloza Kildaire
e8b78156b7
Added support for graceful shutdown
6 months ago
Tristan B. Velloza Kildaire
490cfe85d6
Implemented `hasPendingEvents()` to check whether there are any pending events at all
...
Use `isPendingEvents()` is unit tests to ensure that we actually are able to see ALL events pushed dispatched before we, possibly, pre-maturely shutdown the engine with `shutdown()`
Removed unused function `runner(Event)`
Added new commented out test case
Formatted method documentation of some methods to conform to D's style
6 months ago
Tristan B. Velloza Kildaire
03dfe3ccfd
Removed TODO comment
...
Added configuration system
Introduced two modes of "sleeping" the event loop, sleep-based and yield-based (with 200ms sleep-mode as the default)
Disabled `setSleep(Duration)` for now
6 months ago
Tristan B. Velloza Kildaire
b67f61b848
Added isSignalExists(ulong id) to check whether a signal handler exists for a given event id
1 year ago
Tristan B. Velloza Kildaire
263188fa64
Remove todo that has since been completed
1 year ago
Tristan B. Velloza Kildaire
d0c4d12155
Make unit testing method private within module
1 year ago
Tristan B. Velloza Kildaire
9a26ed7011
Removed swear words
1 year ago
Tristan B. Velloza Kildaire
c6082f3941
Unit test: Shutdown engine after testing
1 year ago
Tristan B. Velloza Kildaire
692660772a
Added rudimentary shutdown() method
1 year ago
Tristan B. Velloza Kildaire
ea1e317431
Updated README
1 year ago
Tristan B. Velloza Kildaire
f2f79e1cf8
Updated documentation
1 year ago
Tristan B. Velloza Kildaire
f649a63a77
Re-worked event system
1 year ago
Tristan B. Velloza Kildaire
f1a13623a6
Added comment
1 year ago
Tristan B. Velloza Kildaire
c2bc5bc902
Added optional payload support
1 year ago
Tristan B. Kildaire
72a35976e1
Added a Javadoc
1 year ago
Tristan B. Kildaire
3e826aa1ac
Added a Javadoc
1 year ago
Tristan B. Kildaire
f87a7f44ca
Added some Javadocs
1 year ago
Tristan B. Velloza Kildaire
d2e9f5376c
New logo
1 year ago
Tristan B. Kildaire
e6c18021bc
Delete libeventdisp.a
1 year ago
Tristan B. Velloza Kildaire
9cc4de215c
Made public
2 years ago
Tristan B. Velloza Kildaire
a86ff8fda2
Cleaned up
2 years ago
Tristan B. Velloza Kildaire
e7c913bc10
Added README (WIP)
2 years ago
Tristan B. Velloza Kildaire
fa9b827711
New logo
2 years ago
Tristan B. Velloza Kildaire
77774a73e1
Added logo
2 years ago
Tristan B. Velloza Kildaire
c1c4225800
Create package.d
2 years ago
Tristan B. Velloza Kildaire
179203caef
Updated dub information
2 years ago
Tristan B. Velloza Kildaire
15bc5d5b7e
Updated licensing information
2 years ago
Tristan B. Velloza Kildaire
b4d117d721
Added igitignore
2 years ago
Tristan B. Velloza Kildaire
7b835b39de
Fixed error where no queues could be added
2 years ago
Tristan B. Velloza Kildaire
206775937e
Added missing exception definition
2 years ago
Tristan B. Velloza Kildaire
ca61e7a8e1
Use ~ opAssign operator instead
2 years ago
Tristan B. Velloza Kildaire
f5ed565912
Don't waste time spinning on a mutex that cannot be unlocked, yield as it may be unlocked by another process, if not then whenever we get back here try again (repeat if same result), else fall through with lock, execute event loop, unlock and yield (as per normal)
2 years ago