Commit Graph

23 Commits (master)

Author SHA1 Message Date
Daniel Kolesa 6c21802041 no global constructor in concurrency example 2018-01-10 01:03:07 +01:00
Daniel Kolesa 723c06c612 various warning fixes with -Weverything 2018-01-03 17:13:38 +01:00
Daniel Kolesa 67525af4e5 gcc/libstdc++ 7.x fixes 2017-11-03 12:56:34 +01:00
Daniel Kolesa 1191162198 separate thread for stdout in buildsystem
This allows messages to be printed in sequence instead of
multiple prints in parallel mangling the output.
2017-05-03 21:09:25 +02:00
Daniel Kolesa 9be0ad2a0e simplify example a bit more 2017-05-03 02:31:26 +02:00
Daniel Kolesa d6a2a3f07c include all examples in generated docs 2017-05-03 02:14:27 +02:00
Daniel Kolesa d6c03be4cd clean up concurrency example a bit 2017-05-03 00:09:30 +02:00
Daniel Kolesa 2c62b82ec4 future-like objects representing tasks in concurrency 2017-05-02 21:42:31 +02:00
Daniel Kolesa f2a78ad589 guaranteed single-argument slice 2017-04-01 16:49:38 +02:00
Daniel Kolesa af1c446eca cleaner example 2017-03-31 01:14:22 +02:00
Daniel Kolesa 87e619485d remove ostd:: 2017-03-30 17:53:37 +02:00
Daniel Kolesa f3984f6412 no need for separate vars 2017-03-23 13:25:18 +01:00
Daniel Kolesa 972c27e181 remove unnecessary captures 2017-03-23 11:37:09 +01:00
Daniel Kolesa 023af03361 spawn/make_channel/yield without explicitly specifying scheduler 2017-03-23 11:35:23 +01:00
Daniel Kolesa 1351ac14f6 fix lockups when a condvar signals while a task is being blocked 2017-03-22 20:01:37 +01:00
Daniel Kolesa c120f49634 implement an M:N thread/coroutine scheduler 2017-03-21 00:28:38 +01:00
Daniel Kolesa d35e8b6341 channel api cleanup 2017-03-19 19:35:00 +01:00
Daniel Kolesa c123e98178 some universal funcs for working with schedulers 2017-03-19 18:12:08 +01:00
Daniel Kolesa 16362167e7 clean up concurrency example 2017-03-19 16:38:30 +01:00
Daniel Kolesa 9a9466e943 make channels copyable (referring to a shared state) 2017-03-19 16:23:00 +01:00
Daniel Kolesa 9ad7fe76c4 add a simple coroutine scheduler that multiplexes tasks onto a single thread 2017-03-19 14:11:23 +01:00
Daniel Kolesa 495c08602f simplify example 2017-03-18 01:08:21 +01:00
Daniel Kolesa b4b7224dd0 initial skeleton for concurrency module 2017-03-18 01:05:10 +01:00