Add macOS support #34
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...
Some checks are pending
BlockStorage/repertory/pipeline/head Build queued...
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#ifndef REPERTORY_INCLUDE_COMMON_HPP_
|
||||
#define REPERTORY_INCLUDE_COMMON_HPP_
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#if defined(__GNUC__) && !defined(PROJECT_IS_DARWIN)
|
||||
// clang-format off
|
||||
#define REPERTORY_IGNORE_WARNINGS_ENABLE() \
|
||||
_Pragma("GCC diagnostic push") \
|
||||
|
@@ -98,7 +98,7 @@ private:
|
||||
std::condition_variable notify_;
|
||||
std::mutex start_stop_mutex_;
|
||||
stop_type stop_requested_{false};
|
||||
std::vector<std::unique_ptr<std::jthread>> task_threads_;
|
||||
std::vector<std::unique_ptr<std::thread>> task_threads_;
|
||||
std::deque<scheduled_task> tasks_;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user