Skip to content

Conversation

@kammce
Copy link
Member

@kammce kammce commented Jan 17, 2026

It turns out that the noop_coroutine and is well documented in cppreference, that supsequent calls to noop_coroutine() may not point to the same handle, meaning that they may not compare equal. To fix this I've added a context::noop_sentinel which acts as the GND or basis for all coroutines.

Resolves #57

It turns out that the noop_coroutine and is well documented in
cppreference, that supsequent calls to noop_coroutine() may not point
to the same handle, meaning that they may not compare equal. To fix this
I've added a `context::noop_sentinel` which acts as the GND or basis for
all coroutines.

Resolves #57
@kammce kammce changed the title 🐛 Fix cancel SEGV due to noop_coroutine() usage 🐛 Fix cancel SEGV due to noop_coroutine() usage Jan 17, 2026
@kammce kammce merged commit e7506d3 into main Jan 17, 2026
5 checks passed
@kammce kammce deleted the fix-cancellation branch January 17, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix cancellation on Linux

2 participants