picofuse

sys.h
Go to the documentation of this file.
1 
13 #pragma once
14 #include "sys/assert.h"
15 #include "sys/atomic.h"
16 #include "sys/cond.h"
17 #include "sys/debugf.h"
18 #include "sys/halt.h"
19 #include "sys/init.h"
20 #include "sys/io.h"
21 #include "sys/mutex.h"
22 #include "sys/panicf.h"
23 #include "sys/printf.h"
24 #include "sys/random.h"
25 #include "sys/rune.h"
26 #include "sys/scanner.h"
27 #include "sys/sleep.h"
28 #include "sys/string.h"
29 #include "sys/thread.h"
30 #include "sys/timestamp.h"
31 #include "sys/waitgroup.h"
Defines wait-group primitives for coordinating worker completion.
Defines formatted output APIs for console and string buffers.
System initialization and cleanup hooks.
Whole-string operations built on the UTF-8 rune primitives in sys/rune.h.
Defines timestamp APIs.
Defines the sys_panicf function for formatted panic messages.
Opaque byte-stream type for reading and writing, backed by different sources (strings today; files an...
Debug logging helpers for system output.
UTF-8 rune (Unicode code point) methods.
Defines thread creation, core query, and sleep primitives.
Defines a custom assertion macro.
Defines the sys_halt function.
Defines atomic uint32_t operations for shared state.
Defines mutex primitives for thread synchronization.
Flag-driven tokenizer: turns a byte stream into a sequence of typed tokens, one sys_scanner_next() ca...
Defines condition variable primitives for thread synchronization.
Defines random number generation APIs.
Defines thread sleep primitives.