romange / helio

A modern framework for backend development based on io_uring Linux interface
Apache License 2.0
435 stars 49 forks source link

chore: Simpler Future<> without locking #253

Closed dranikpg closed 5 months ago

dranikpg commented 5 months ago

Introduce simple future to replace boost code

replacing aligned_storage with optional, intrusive_ptr with shared_ptr and a mutex with event-count makes the code ten times smaller 🙂

dranikpg commented 5 months ago

Actually this is unsafe, need to fix this 😅

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.72%. Comparing base (d30de86) to head (c76ddb4). Report is 37 commits behind head on master.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #253 +/- ## ========================================== - Coverage 77.60% 76.72% -0.88% ========================================== Files 103 104 +1 Lines 7824 7791 -33 ========================================== - Hits 6072 5978 -94 - Misses 1752 1813 +61 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.