aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarat Dukhan <maratek@google.com>2020-03-05 13:30:44 -0800
committerMarat Dukhan <maratek@google.com>2020-03-05 13:30:44 -0800
commit00108cf5c96fba21da3ea2836ad129dd3839eaed (patch)
tree74145d4fbe64223a3d9792a0fc73962290a9812f /src
parentdefdd296d67a43b00b334c183edba09e992d5915 (diff)
downloadplatform_external_pthreadpool-00108cf5c96fba21da3ea2836ad129dd3839eaed.tar.gz
platform_external_pthreadpool-00108cf5c96fba21da3ea2836ad129dd3839eaed.tar.bz2
platform_external_pthreadpool-00108cf5c96fba21da3ea2836ad129dd3839eaed.zip
Minor cleanup
Diffstat (limited to 'src')
-rw-r--r--src/threadpool-pthreads.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/threadpool-pthreads.c b/src/threadpool-pthreads.c
index 2cb834d..4bbf427 100644
--- a/src/threadpool-pthreads.c
+++ b/src/threadpool-pthreads.c
@@ -32,9 +32,9 @@
#endif
#ifdef _WIN32
-# define NOMINMAX
-# include <sysinfoapi.h>
-# include <malloc.h>
+ #define NOMINMAX
+ #include <malloc.h>
+ #include <sysinfoapi.h>
#endif
/* Dependencies */
@@ -559,7 +559,7 @@ void pthreadpool_parallelize_1d(
#if PTHREADPOOL_USE_FUTEX
/*
- * Make new command parameters globally visible. Having this fence before updating the command is imporatnt: it
+ * Make new command parameters globally visible. Having this fence before updating the command is important: it
* guarantees that if a worker thread observes new command value, it also observes the updated command parameters.
*/
atomic_thread_fence(memory_order_release);