Skip to content

Commit

Permalink
fix scheduler comment styles
Browse files Browse the repository at this point in the history
  • Loading branch information
cwharris committed Nov 2, 2023
1 parent a4e49f2 commit 7fa1f79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cpp/mrc/include/mrc/coroutines/scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ class Scheduler : public std::enable_shared_from_this<Scheduler>

/**
* @brief Suspends the current function and resumes it according to the scheduler's implementation.
*/
*/
[[nodiscard]] virtual Task<> schedule() = 0;

/**
* @brief Suspends the current function and resumes it according to the scheduler's implementation.
*/
*/
[[nodiscard]] virtual Task<> yield() = 0;
};

Expand Down
4 changes: 2 additions & 2 deletions python/mrc/_pymrc/include/pymrc/asyncio_scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ class AsyncioScheduler : public mrc::coroutines::Scheduler

/**
* @brief Suspends the current function and resumes it on the scheduler's Asyncio event loop
*/
*/
[[nodiscard]] coroutines::Task<> schedule() override
{
co_await ContinueOnLoopOperation(m_loop);
}

/**
* @brief Suspends the current function and resumes it on the scheduler's Asyncio event loop
*/
*/
[[nodiscard]] coroutines::Task<> yield() override
{
co_await ContinueOnLoopOperation(m_loop);
Expand Down

0 comments on commit 7fa1f79

Please sign in to comment.