summaryrefslogtreecommitdiff
path: root/zen/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'zen/thread.h')
-rw-r--r--zen/thread.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/zen/thread.h b/zen/thread.h
index a1d5197c..99e61e1f 100644
--- a/zen/thread.h
+++ b/zen/thread.h
@@ -18,9 +18,6 @@ namespace zen
{
class InterruptionStatus;
-#if __cpp_lib_jthread
- #error refactor!
-#endif
class InterruptibleThread
{
public:
@@ -92,7 +89,7 @@ template<typename T> inline
bool isReady(const std::future<T>& f) { return f.wait_for(std::chrono::seconds(0)) == std::future_status::ready; }
//------------------------------------------------------------------------------------------
-//wait until first job is successful or all failed: substitute until std::when_any is available
+//wait until first job is successful or all failed
//TODO: use std::when_any when available
template <class T>
class AsyncFirstResult
bgstack15