Commit Graph

20 Commits (c6a854fac3f235b88d0bf2d57b2b3a6f80583956)

Author SHA1 Message Date
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