Commit Graph

25 Commits

Author SHA1 Message Date
Chris Copeland 4da8e59ea0
fix cond.c after sem refactor
add comments about atomicity of cond_wait

add cond examples
2024-05-17 00:04:57 -07:00
Chris Copeland 5d417de3bd
get arch/signal rt_trap to work in the debugger
make test scripts exit with failure if any tests failed
2024-05-13 00:00:08 -07:00
Chris Copeland 5a8ddfd050
add mutex-irq and sem-irq examples for arch/signal to test interrupts 2024-05-08 00:30:38 -07:00
Chris Copeland 0ad0bd508b
remove trap statement from test scripts 2024-05-05 17:22:36 -07:00
Chris Copeland 3ef8529212
change tls example to always run even when tls is disabled 2024-05-05 01:04:15 -07:00
Chris Copeland 32774b0158
arch/signal with aarch64 and x86_64 on Linux and macOS 2024-05-04 20:24:32 -07:00
Chris Copeland 867a80fc04
remove tls example from test script 2024-04-29 09:39:41 -07:00
Chris Copeland 06cacd01ee
add thread-local storage support for arm 2024-04-27 01:23:37 -07:00
Chris Copeland 24d9525447
run tests in parallel 2024-03-19 21:12:54 -07:00
Chris Copeland ca5c27c7ea
remove newtask from test script 2023-08-26 00:53:28 -07:00
Chris Copeland 4d615506d8
add C++ interfaces 2023-07-15 22:46:40 -07:00
Chris Copeland 6f622c0cae
add all examples to test.bash, add timeout to float.c 2023-07-02 13:45:23 -07:00
Chris Copeland cab5351699
remove extra functions from list.c and list examples 2023-07-02 13:45:00 -07:00
Chris Copeland c3f2171891
implement priority donation for mutexes
add timeout to mutex example

add cycle/mutex example

add donate example
2023-07-02 11:43:54 -07:00
Chris Copeland a91e546f5b
add rt_barrier
refactor sem and cond to prevent exceeding max_value
give cond a max value of 0

implement signal and broadcast as post and post_n

add barrier example
2023-02-18 11:26:35 -08:00
Chris Copeland f5b0b047c1
allow new tasks to be started after rt_start, embed a record in each task 2023-02-10 18:29:34 -08:00
Chris Copeland ad2f325a16
build water examples in subdirectory 2023-01-31 00:08:08 -08:00
Chris Copeland aa519e0395
add rt_once 2023-01-18 00:48:31 -08:00
Chris Copeland 81ac725002
add rwlock 2022-12-12 06:11:47 +00:00
Chris Copeland 8613ca556f
remove sbheap from test.bash 2022-11-15 20:32:23 -08:00
Chris Copeland 59cc6e3231
remove separate pq interface and add rt_list_insert_by instead 2022-10-26 08:50:23 -07:00
Chris Copeland 1fe71b3835
make test script report failure 2022-09-24 17:19:48 -07:00
Chris Copeland 13c2553da0
make examples portable and use exit codes for failure 2022-09-24 17:09:30 -07:00
Chris Copeland df2b96f296
implement rt_mutex 2022-09-07 19:21:04 -07:00
Chris Copeland 54dfbaccc6
simplify examples and add test script 2022-08-16 01:37:04 -07:00