Commit Graph

101 Commits (master)

Author SHA1 Message Date
Daniel Kolesa 89719ba08a do not use add_global_arguments to allow subproject use 2020-09-21 03:06:34 +02:00
Daniel Kolesa 4b560b54f4 less bad compiler warnings handling 2020-09-19 04:19:20 +02:00
Daniel Kolesa d4573427d9 meson: do not set global cxxflags
this is so that libostd can work as a subproject
2018-10-28 00:53:58 +02:00
Daniel Kolesa 3906e5f1ee build: add meson as the new buildsystem for libostd 2018-10-27 23:49:49 +02:00
Daniel Kolesa 15736cc0ce listdir example fix 2018-04-20 01:23:47 +02:00
Daniel Kolesa 6768373172 doc fix 2018-04-18 23:58:51 +02:00
Daniel Kolesa 307675731c add fs APIs for creating/removing/renaming, mtime and globs 2018-04-18 03:40:03 +02:00
Daniel Kolesa 64a529254c add checking file types to directory entry 2018-04-17 23:13:46 +02:00
Daniel Kolesa d011daad3b implement path cwd/home/temp/absolute/relative/canonical/existence/equivalence 2018-04-17 02:26:45 +02:00
Daniel Kolesa 755e0f3934 update listdir example to use path 2018-04-16 03:20:40 +02:00
Daniel Kolesa 8686962cbc catch coroutine error in example 2018-04-11 02:27:26 +02:00
Daniel Kolesa 6c21802041 no global constructor in concurrency example 2018-01-10 01:03:07 +01:00
Daniel Kolesa 64843f7aa7 get rid of remaining zero-as-null-pointer-constant usages 2018-01-10 00:34:42 +01:00
Daniel Kolesa 723c06c612 various warning fixes with -Weverything 2018-01-03 17:13:38 +01:00
Daniel Kolesa 84fc2bc9c4 do not rely on global locale when converting in format 2017-11-13 17:15:30 +01:00
Daniel Kolesa e5a21382af much better integer formatting (less stack space, better precision handling) 2017-11-13 02:13:42 +01:00
Daniel Kolesa 84572dfd01 use C locale in I/O and format by default
Should probably get rid of state in locale-aware APIs, too.
2017-11-12 19:15:43 +01:00
Daniel Kolesa 67525af4e5 gcc/libstdc++ 7.x fixes 2017-11-03 12:56:34 +01:00
Daniel Kolesa 25c97d9c8f typo fix 2017-06-11 18:55:50 +02:00
Daniel Kolesa bee56e6a52 add glob example 2017-06-11 18:51:29 +02:00
Daniel Kolesa 73421a5902 add argparse examples 2017-05-26 22:00:51 +02:00
Daniel Kolesa 1cc0577513 typo 2017-05-03 22:49:14 +02: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 cc8452e265 remove make_ range helpers for containers (use iter_begin/end) 2017-04-23 15:30:51 +02:00
Daniel Kolesa ef147c538c add complete input iterator type for any range 2017-04-22 17:12:20 +02:00
Daniel Kolesa b1f207bd3b hide appender_range definition 2017-04-17 17:07:24 +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 0e24dcd1c4 nested coroutine example + use stackpool for dispatcher in bscs 2017-03-23 00:40:42 +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
Daniel Kolesa 06fbdc7419 remove coroutine_type, but keep public context 2017-03-17 02:46:24 +01:00
Daniel Kolesa c7451024c7 update exmaple output 2017-03-17 02:39:38 +01:00
Daniel Kolesa 959f319318 type inspection support on coroutines (with context as common base type) 2017-03-17 02:38:37 +01:00
Daniel Kolesa 88e6fe3906 revert the stack freeing method (can be achieved via stack allocator) 2017-03-11 18:24:55 +01:00