Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(coro): coro 2.0 #1196

Merged
merged 20 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
a638d54
refactor(coro), feat(coro): coro tidy up, add sync_wait
Mishura4 Nov 1, 2023
79800db
fix(coro): fix includes, improve NOMINMAX define
Mishura4 Feb 2, 2024
69dd902
improv(coro): use std::memory_order
Mishura4 Jul 6, 2024
fb59bba
fix(coro): fix read-after-free in dpp::async
Mishura4 Jul 6, 2024
48d1dec
improv(coro): add [[nodiscard]] to dpp::task, dpp::coroutine
Mishura4 Jul 6, 2024
e4dc9f3
misc(coro): remove long-deprecated dpp::job event handlers
Mishura4 Jul 6, 2024
6eef94a
Merge branch 'dev' into coro
Mishura4 Jul 11, 2024
6ab08aa
improv(coro): add concept `awaitable_type`, move `dpp::detail::promis…
Mishura4 Jul 11, 2024
b56b6bf
improv(coro): allow move-only types in dpp::async, de-duplicate void …
Mishura4 Jul 11, 2024
817c00c
improv(coro): thanks https://www.includecpp.org/!
Mishura4 Jul 11, 2024
62ecaf0
fix(coro): fix unused alias warning
Mishura4 Jul 11, 2024
1afb0c2
coro test case to detect leaks
braindigitalis Jul 12, 2024
af38de0
improv: add requires clause to await_transform to improve error messa…
Mishura4 Jul 13, 2024
d576711
fix(coro): fix leak of the coroutine frame, add if_this_causes_an_inv…
Mishura4 Jul 13, 2024
f857554
fix(coro): fix dpp::task's move assignment
Mishura4 Jul 13, 2024
1899e6a
change get_gateway_bot to use coro when available
braindigitalis Jul 15, 2024
6f06990
fix(coro): fix awaitable/task move assignment, again
Mishura4 Jul 15, 2024
99e6f60
Merge branch 'dev' into coro
Mishura4 Jul 18, 2024
2d01764
fix: add <cstdint> and <cstddef> to misc-enum.h
Mishura4 Jul 18, 2024
0631c7d
Merge branch 'dev' into coro
braindigitalis Jul 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions include/dpp/coro.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#pragma once

#include "coro/awaitable.h"
#include "coro/async.h"
#include "coro/coroutine.h"
#include "coro/job.h"
Expand Down
Loading
Loading