Skip to content

Conversation

@Simn
Copy link
Collaborator

@Simn Simn commented Apr 16, 2025

I looked at #7 again and realized that you pretty much already solved the EventLoop problem by introducing a shared abstract. The only part we have to #if sys is the concrete implementation, for which we can use a private typedef. This looks like the best pattern here and worked with just a few minor changes.

For RacingCondition, I opted to use the stub-approach that EntryPoint also has. It feels slightly silly but does keep the business logic clean. It would be nice to handle these stubs a bit differently, but IMO this is acceptable.

CI is still unhappy about Lock being referenced somewhere which I'll have to investigate.

Edit: I was checking the wrong flag, should be fine now.

Edit: Never mind it's still failing...

Edit: NOW I got it, probably.

@Simn Simn merged commit 03d6437 into kt_coro Apr 16, 2025
73 of 89 checks passed
@Simn Simn deleted the kt_coro_event_loop branch April 16, 2025 14:09
@Simn Simn mentioned this pull request Apr 16, 2025
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.

2 participants