summaryrefslogtreecommitdiff
path: root/system_wrappers/interface/thread_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'system_wrappers/interface/thread_wrapper.h')
-rw-r--r--system_wrappers/interface/thread_wrapper.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/system_wrappers/interface/thread_wrapper.h b/system_wrappers/interface/thread_wrapper.h
index d9e7d8a3..7fbf58c1 100644
--- a/system_wrappers/interface/thread_wrapper.h
+++ b/system_wrappers/interface/thread_wrapper.h
@@ -78,9 +78,7 @@ class ThreadWrapper {
// should be lower than (number of CPUs - 1). amount_of_processors should be
// equal to the number of processors listed in processor_numbers.
virtual bool SetAffinity(const int* processor_numbers,
- const unsigned int amount_of_processors) {
- return false;
- }
+ const unsigned int amount_of_processors);
// Stops the spawned thread and waits for it to be reclaimed with a timeout
// of two seconds. Will return false if the thread was not reclaimed.