Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: dallison/co

Add PollAndWait

24 Aug 19:39

Choose a tag to compare

This release builds on the multi-fd-wait feature and adds PollAndWait functions.

Multiple coroutines per fd in epoll mode

23 Aug 20:14
aba95d4

Choose a tag to compare

Adds a facility to add multiple coroutines to the same epoll fd.

Fixed interrupt fd handling in epoll

06 Aug 20:20

Choose a tag to compare

Fixes an issue with epoll where an interrupt fd can cause a nullptr.

Custom context switcher for x86_64 and aarch64

21 Jun 21:36
ed8ce17

Choose a tag to compare

This provides a custom assembly language context switcher for coroutines.

It is faster than the Linux user contexts and safer than setjmp/longjmp. It is supported only on x86_64 and aarch64 architectures. User contexts and setjmp/longjmp are still supported and can be selected if necessary by modifying the macros in coroutine.h

Custom context switcher

27 Dec 19:22

Choose a tag to compare

Pre-release

This is a tag from a feature branch that provides custom contexts functions that are higher performance than the setjmp/longjmp or the Linux user-context based versions.

Both x86_64 and Aarch64 version of the context switching code are available.

Fix mac build

17 Nov 00:27

Choose a tag to compare

Fixed epoll support and, of course, broke poll support

Linux epoll improvements

17 Nov 00:18

Choose a tag to compare

Minor changes for epoll support

Epoll on Linux

08 Mar 01:23
61ddf05

Choose a tag to compare

This enables the use of the linux-specific epoll function on Linux by default.

If this doesn't work for you, you can switch it off by changing the POLL_MODE macro in coroutine.h

Fix timerfd calculations

30 Jan 02:12

Choose a tag to compare

Fixes timerfd calculations on linux

New constructor for name and stack size

09 Jan 17:58

Choose a tag to compare

Very minor update to provide a convenience constructor for a coroutine that allows the name and stack size to be specified easier.