diff options
author | Marat Dukhan <maratek@google.com> | 2020-04-01 16:42:16 -0700 |
---|---|---|
committer | Marat Dukhan <maratek@google.com> | 2020-04-01 16:42:16 -0700 |
commit | 5b41aa6060588e26fd25ace6dc4afccfd4793997 (patch) | |
tree | 60ba1375435cdbbd459eeff121d1587dc1b37af9 /src | |
parent | 76042155a8b1e189c8f141429fd72219472c32e1 (diff) | |
download | pthreadpool-5b41aa6060588e26fd25ace6dc4afccfd4793997.tar.gz |
Remove unused per-thread wakeup_condvar
Diffstat (limited to 'src')
-rw-r--r-- | src/threadpool-pthreads.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/threadpool-pthreads.c b/src/threadpool-pthreads.c index 0a9c06d..0e5b44e 100644 --- a/src/threadpool-pthreads.c +++ b/src/threadpool-pthreads.c @@ -163,11 +163,6 @@ struct PTHREADPOOL_CACHELINE_ALIGNED thread_info { * The pthread object corresponding to the thread. */ pthread_t thread_object; - /** - * Condition variable used to wake up the thread. - * When the thread is idle, it waits on this condition variable. - */ - pthread_cond_t wakeup_condvar; }; PTHREADPOOL_STATIC_ASSERT(sizeof(struct thread_info) % PTHREADPOOL_CACHELINE_SIZE == 0, "thread_info structure must occupy an integer number of cache lines (64 bytes)"); |