Commit Graph

18 Commits (master)

Author SHA1 Message Date
Daniel Kolesa 097722b1ed add API to get the number of threads in a threadpool 2018-04-22 17:40:37 +02:00
Daniel Kolesa 827aed2bb9 minor fixes 2018-01-15 21:05:58 +01:00
Daniel Kolesa 375c014f7a vtable translation unit for thread pool + warns 2018-01-10 02:57:29 +01:00
Daniel Kolesa 19badf6140 threaded build.cc 2017-04-30 20:16:49 +02:00
Daniel Kolesa 09c3c02c33 doc cleanups 2017-04-12 19:12:09 +02:00
Daniel Kolesa 1525edf3d7 type/include cleanup 2017-04-09 16:44:45 +02:00
Daniel Kolesa d5f2f7f6b7 document generic_condvar 2017-03-30 00:36:51 +02:00
Daniel Kolesa 90af651f24 document thread pool 2017-03-29 20:41:53 +02:00
Daniel Kolesa 45e65d7ec7 unified single-type interface for channels 2017-03-23 03:17:09 +01:00
Daniel Kolesa 307123fd35 revert the threadpool split (wasn't used in the end) 2017-03-21 00:29:38 +01:00
Daniel Kolesa a080a17d00 separate thread pool into two structures
the internal one will also be used in parallel coroutine scheduler
2017-03-20 18:42:54 +01:00
Daniel Kolesa 367d2b8b31 lightweight backing for thread_pool tasks (no shared_ptr) 2017-03-20 04:12:44 +01:00
Daniel Kolesa c1c68fb339 always use packaged_task for thread_pool push 2017-03-20 03:11:59 +01:00
Daniel Kolesa 23652409f6 use lock_guard where possible 2017-03-20 02:35:50 +01:00
Daniel Kolesa f07eefaf5a thread_pool push result type fix 2017-03-18 20:02:03 +01:00
Daniel Kolesa 795234c476 do the same with the returning version 2017-03-18 18:53:57 +01:00
Daniel Kolesa 3462703b3a only bind when args are passed 2017-03-18 18:50:23 +01:00
Daniel Kolesa 35cda8872e add a thread pool impl 2017-03-18 18:34:13 +01:00