WIP5: format

This commit is contained in:
Erki 2025-02-24 18:23:57 +02:00
parent 8d49d2d446
commit 08c23d6244
3 changed files with 8 additions and 7 deletions

View File

@ -6,10 +6,10 @@
#include "skullc/coro/scheduler.hpp"
#include "skullc/coro/semaphore.hpp"
#include "skullc/coro/signal.hpp"
#include "skullc/coro/sleep.hpp"
#include "skullc/coro/task.hpp"
#include "skullc/coro/this_coro.hpp"
#include "skullc/coro/signal.hpp"
#include <semaphore>
@ -263,7 +263,7 @@ skullc::coro::Task<> send_signal(const int value, skullc::coro::Signal<int>* sig
co_return;
}
}
}// namespace
TEST_CASE("Signal awaiters work.", "[coro],[signal]")
{

View File

@ -83,9 +83,10 @@ public:
return *awaiter_;
}
private:
std::optional<T> data_;
std::optional<Awaiter> awaiter_;
};
}
}// namespace skullc::coro