Skip to content

Commit 137bbd8

Browse files
committed
Use std::thread instead of std::jthread in timer_service
1 parent f96129a commit 137bbd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/capy/ex/detail/timer_service.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace detail {
2929

3030
/* Shared timer thread for an execution_context.
3131
32-
One background std::jthread per execution_context. All timeouts
32+
One background std::thread per execution_context. All timeouts
3333
scheduled through this context share the same thread, which sleeps
3434
on a condition variable until the next deadline.
3535
@@ -113,7 +113,7 @@ class BOOST_CAPY_DECL
113113
timer_id next_id_ = 0;
114114
timer_id executing_id_ = 0;
115115
bool stopped_ = false;
116-
std::jthread thread_;
116+
std::thread thread_;
117117
#ifdef _MSC_VER
118118
# pragma warning(pop)
119119
#endif

0 commit comments

Comments
 (0)