-
v0.3.3 Pre-Release
released this
2023-04-10 04:44:20 +02:00 | 2 commits to master since this releaseChanges:
Scheduler.pollEvents
now waits infinitly if no other tasks are in the queue.
This improves performance when in idle state by A LOT. It effectivly gives an application that does only IO an 100% performance boost since we dont spend spinning in
Downloads
-
v0.3.0 Pre-Release
released this
2023-04-07 06:09:56 +02:00 | 7 commits to master since this releaseChanges:
- allow to specify
Socketflags
when callingAsyncSocket.recieve
- add
setKeepAlive
toAsyncSocket
- add asyncronous
send
toAsyncSocket
- add
async.main
to help reduce boilerplate and creating an truly asyncronous main (see example onasync.main.AsyncMain
) - add
VoidFnFuture
for anVoidFuture
equivalent toFnFuture
- add
doAsync
to allow calling functions asyncronously - add
async.utils.MakeClosure
helper to create closures so one can capture variables when usingdoAsync
- add
awaitAllSync
to await multiple futures syncronously - add
captureAll
to capture results of multiple futures asyncronously
Downloads
- allow to specify
-
v0.2.0 Pre-Release
released this
2023-04-06 20:11:01 +02:00 | 25 commits to master since this release- Moved futures
Future(T)
andVoidFuture
into own submoduleasync.futures
- Added basic futures:
ValueFuture(T)
andFnFuture(T)
- Moved file-io into own submodule
async.io.file
- Added first version of socket-io with the
async.io.socket
module - Added debug flag for debugging the event polling:
async_scheduler_pollEvents
- Added Utilities module
async.utils
forOption(T)
Bugfixes:
- Fixed bug where the scheduler ends even when we still have io-waiters
- Fixed bug where an io waiter dosnt get correctly removed from the map
- Fixed bug where an io waiter dosnt get removed from the epoll
- Fixed potential bug where the event polling code dosnt respects the count returned by
epoll_wait
and simply iterated all (empty) events in the buffer
Downloads
- Moved futures
-
v0.1.0 Pre-Release
released this
2023-04-06 00:46:53 +02:00 | 42 commits to master since this releaseFirst public release
Downloads