mculover666
06291f5b6e
fix the obj type bug in kernel
2021-07-21 11:48:24 +08:00
mculover666
da61aa0a49
add support for dynaminc sem and dynamic mutex
2021-03-11 09:46:24 +08:00
David Lin
d0e2355cf6
Update tos_sem.c
2021-02-09 12:39:48 +08:00
David Lin
b46d687e4f
mini optimize the tos_sem.c
2021-02-07 18:27:25 +08:00
daishengdong
79a0524b60
remove some redundant judgement
2020-03-06 19:27:21 +08:00
daishengdong
40f55ec57b
support posix
...
1. posix pthread.h: pthread, pthread_barrier, pthread_cond, pthread_mutex, , pthread_rwlock, pthread_spin, etc
2. posix semaphore.h: sem_*
3. posix mqueue.h: mq_*
4. posix time.h: timer_*
5. to support posix, add tos_barrier, tos_bitmap, tos_rwlock, tos_stopwatch, change name of k_task_t from a char * pointer to a char array.
6. sample, see examples\posix
7. project, see board\TencentOS_tiny_EVB_MX_Plus\KEIL\posix
2020-02-28 00:11:28 +08:00
daishengdong
72481955e2
a very simple shell framework
...
simple, clear, easy to DIY
2020-01-08 13:54:56 +08:00
daishengdong
c9556307df
add tos_slist.h, rename tos.h to tos_k.h
2020-01-03 17:25:38 +08:00
daishengdong
c411ed1eec
add a set of dyn(create / destroy) interface
...
1. tos_ring_q_create_dyn
2. tos_chr_fifo_create_dyn
3. tos_msg_q_create_dyn
4. tos_mail_q_create_dyn
5. tos_bin_heap_create_dyn
6. tos_prio_q_create_dyn
7. tos_prio_msg_q_create_dyn
8. tos_prio_mail_q_create_dyn
2019-10-29 16:57:43 +08:00
daishengdong
06cae326a2
add API (tos_task_create_dyn & tos_task_walkthru & tos_task_curr_task_get)
...
tos_task_create_dyn: create task with dynamic allocated task handler and stack
tos_task_walkthru: API to walk through the statistic list of all the existing task
tos_task_curr_task_get: get current running task handler
2019-10-23 21:22:13 +08:00
supowang
c1fcaa1236
add license for kernel
...
add license for kernel
2019-10-09 13:15:53 +08:00
SheldonDai
aad1564e09
finish nimble blehr porting and do some kernel improve
2019-10-09 12:15:59 +08:00
supowang
edb2879617
first commit for opensource
...
first commit for opensource
2019-09-16 13:19:50 +08:00