Commit graph

8 commits

Author SHA1 Message Date
q66 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
q66 367d2b8b31 lightweight backing for thread_pool tasks (no shared_ptr) 2017-03-20 04:12:44 +01:00
q66 c1c68fb339 always use packaged_task for thread_pool push 2017-03-20 03:11:59 +01:00
q66 23652409f6 use lock_guard where possible 2017-03-20 02:35:50 +01:00
q66 f07eefaf5a thread_pool push result type fix 2017-03-18 20:02:03 +01:00
q66 795234c476 do the same with the returning version 2017-03-18 18:53:57 +01:00
q66 3462703b3a only bind when args are passed 2017-03-18 18:50:23 +01:00
q66 35cda8872e add a thread pool impl 2017-03-18 18:34:13 +01:00