Commit Graph

24 Commits

Author SHA1 Message Date
Chris Copeland 65133cf1ba
make sleep example forgiving by 1 tick 2024-05-08 00:31:11 -07:00
Chris Copeland 99cd8c1d73
add missing methods to cxx/include/rt/rwlock.hpp 2024-05-02 01:08:01 -07:00
Chris Copeland 3c80db2c81
make cxx/examples/rwlock.cpp match examples/rwlock.c 2024-05-02 00:58:52 -07:00
Chris Copeland 8845d8d1b6
refactor ready list management and make lower priority numbers higher priority 2024-02-24 03:37:52 -08:00
Chris Copeland 570cc1c164
add noexcept to sentinel constructors 2023-10-25 00:37:23 -07:00
Chris Copeland 588663966e
make C++ binary semaphore a subclass 2023-10-17 23:11:57 -07:00
Chris Copeland 812117ff49
add recursive mutexes 2023-10-17 23:03:54 -07:00
Chris Copeland 426d1948a0
use larger stack in some examples 2023-10-14 17:14:34 -07:00
Chris Copeland d8182e4f1c
clean up comments, use #pragma once everywhere 2023-10-14 13:50:37 -07:00
Chris Copeland c4abb96de1
refactor MPU interface, simplify start and unify creation of idle task 2023-10-10 23:09:58 -07:00
Chris Copeland 598d9759c7
implement lazy enable fp for cortex r 2023-09-22 09:05:42 -07:00
Chris Copeland 1bda3d44fa
miscellaneous cleanup of C++ interface 2023-09-17 22:03:30 -07:00
Chris Copeland b606cf06c7
move syscall records out of the task and put tasks in privileged memory 2023-09-17 21:47:58 -07:00
Chris Copeland 7941dbbfdb
use atomics instead of volatile in once and queue examples 2023-09-09 11:09:36 -07:00
Chris Copeland 03319a1c89
RT_TASK_STATIC* -> RT_TASK* 2023-08-24 08:46:43 -07:00
Chris Copeland fe677a7f43
remove main from examples and use constructors for task creation 2023-08-21 20:50:16 -07:00
Chris Copeland aa4705fd96
add RT_TASK_STATIC* and use it in examples 2023-08-19 16:32:19 -07:00
Chris Copeland 13208548e8
use [0,n) in remaining examples 2023-07-30 18:46:01 -07:00
Chris Copeland 11f7652c58
move sleep functions into task.h and rename them to rt_task_sleep* 2023-07-26 23:40:58 -07:00
Chris Copeland 6c81213592
change rwlock interface to align with pthreads 2023-07-25 23:32:13 -07:00
Chris Copeland 14b16f01b6
simplify barrier to use only a mutex and condition variable 2023-07-25 02:05:03 -07:00
Chris Copeland 3e2d10e040
use array of unsigned char instead of array of T for queue elements 2023-07-18 08:51:17 -07:00
Chris Copeland 937b24d209
add noexcept and delete move constructors in C++ interfaces 2023-07-16 15:36:41 -07:00
Chris Copeland 4d615506d8
add C++ interfaces 2023-07-15 22:46:40 -07:00