Skip to content

Commit

Permalink
include for YieldProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin committed Oct 20, 2021
1 parent bdd5cc3 commit 894051c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/include/souffle/utility/ParallelUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ constexpr std::size_t hardware_destructive_interference_size = 2 * sizeof(max_al
#define pthread_yield sched_yield
#elif defined _MSC_VER
#include <thread>
#include <windows.h>
#define pthread_yield std::this_thread::yield
#endif

Expand Down

0 comments on commit 894051c

Please sign in to comment.