Commit Graph

18 Commits

Author SHA1 Message Date
50b2105df5 build: clang-tidy fixes 2021-04-19 14:52:22 +10:00
08566fde6c debug: don't include assert.hpp if you don't use it 2021-04-12 16:12:08 +10:00
766e7d0370 parallel/stack: add clone method 2019-08-02 08:13:39 +10:00
ec883c3009 parallel/stack: allow zero capacity construction 2019-05-24 11:46:55 +10:00
257275e0f5 parallel/stack: add move operators 2019-05-24 11:21:31 +10:00
34a5f7d52b parallel/stack: add clear and size queries 2019-05-23 16:43:13 +10:00
422a12258c parallel/stack: add view accessor for underlying data 2019-05-23 16:42:57 +10:00
ef56c29b22 parallel/stack: add move operator stubs 2019-05-23 16:42:38 +10:00
e033cb2e4f parallel/stack: Add a trivial thread safe stack 2019-05-23 15:21:07 +10:00
1f6caaa242 thread/primitive: add platform wrappers for pause/yield instructions 2019-02-02 14:55:13 +11:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
3689b08535 parallel/queue: add nodiscard to push/pop
Users _must_ check the return value otherwise they've no indication
whether anything happened... This is a pretty common mistake because it
looks a lot like a typical push/pop operation.
2018-03-22 14:57:34 +11:00
4f4b812356 parallel/queue: add capacity query 2018-03-22 14:57:24 +11:00
804b2263b8 parallel/queue: rename the queue type 2018-03-22 13:22:27 +11:00
7fc51aa151 parallel/queue: use representative name for class 2018-03-22 13:05:51 +11:00
fc148fa7a4 parallel/queue: comments and type checks 2018-03-22 13:02:51 +11:00
4773e4be21 parallel: initial single-producer/multiple-consumer queue 2018-03-21 18:53:24 +11:00