Meco Man
2b98ac215a
[kernel] rearrange rt_thread_control() - schedule the thread when close it
2021-02-24 16:29:43 +08:00
Bernard Xiong
a174881e0b
Merge pull request #4209 from jesven/cleanup
...
cleanup操作改由当前线程退出前执行
2020-12-31 14:43:45 +08:00
shaojinchun
5957e15754
cleanup操作改由当前线程退出前执行
2020-12-31 10:31:06 +08:00
bernard
b4e57db1a8
[kernel] Use object_find to implement thread_find/device_find
2020-12-31 09:47:55 +08:00
Bernard Xiong
0776b36a4f
[Kernel] fix the delay_until issue
2020-10-22 22:44:58 +08:00
Bernard Xiong
aeff91b2a7
Merge pull request #3769 from jesven/fix_yield
...
解决yield操作不能及时释放cpu的问题
2020-10-01 15:46:10 +08:00
chenchaoqun
c15a7858c9
[fix] thread control bug about RT_THREAD_CTRL_CLOSE command
2020-09-02 15:04:42 +08:00
shaojinchun
3ed84b8d03
解决yield操作不能及时释放cpu的问题
2020-07-24 21:13:56 +08:00
cliff-cmc
7471a665db
Update thread.c
2020-05-25 08:43:13 +08:00
Cliff Chen
240961e8e8
[Kernel] Fix double release for thread
...
Signed-off-by: Cliff Chen <cliff.chen@rock-chips.com>
2020-05-15 18:31:34 +08:00
suhui
d6d690da1a
fix the comment
...
Signed-off-by: suhui <3164683437@qq.com>
2020-02-21 19:46:59 +08:00
zhaoshaowei
ff44570887
[Kernel] fix typo in rt_thread_delay_util
2019-12-27 16:41:47 +08:00
Bernard Xiong
2c1f7b73a7
[Kernel] fix typo in rthread_delay
2019-12-19 09:45:58 +08:00
Bernard Xiong
df57b9014c
Update thread.c
2019-12-19 08:06:53 +08:00
Bernard Xiong
4a14b8f59a
[Kernel] Add delay_util implementation.
2019-12-18 21:38:26 +08:00
Bernard Xiong
992d3af3ae
[kernel] code and comments cleanup
2019-12-16 13:59:46 +08:00
shaojinchun
88b552276b
修正在多核时,运行在另外核上的idle任务有可能会插在rt_thread_exit调用rt_schedule之前释放其资源的问题
2019-11-15 10:45:12 +08:00
shaojinchun
cdaf8c65ca
修正rt_thread_delete在特定点被切走后不能回来继续执行的问题
2019-11-12 16:02:24 +08:00
shaojinchun
cb07e5fb24
开放spinlock相关函数
2019-09-27 14:38:33 +08:00
tyustli
d8eb0cfc1e
fix kernel and framework no cast type error
2019-06-18 20:09:19 +08:00
shaojinchun
6cdfb2ac92
fix signal code
2019-05-11 09:34:26 +08:00
Bernard Xiong
f9f7e6c520
[ptherad] Fix pthread_exit issue
...
When pthread invokes pthread_exit, it just detach self.
2019-02-14 13:45:25 +08:00
Bernard Xiong
de624c52c1
[Kernel] Enable RUNNING status in thread.
2019-01-13 11:23:08 +08:00
shaojinchun
fc6bc1ad39
Add smp support to RT-Thread 4.0
2018-11-22 18:16:47 +08:00
Bernard Xiong
46dae3f35f
Merge branch 'master' into dev-4.0.x
2018-11-20 23:13:45 +08:00
Bernard Xiong
00a655ac1c
[Kernel] Add ARCH_CPU_STACK_GROWS_UPWARD option
2018-11-11 15:56:02 +08:00
Bernard Xiong
484afe9d2c
[Kernel] Add 64bit CPU support.
2018-10-26 06:35:42 +08:00
Bernard Xiong
ff08faf605
[Kernel] Adjust the copyright information
2018-09-25 11:06:07 +08:00
Bernard Xiong
41f7f2c284
[Kernel] Update to Apache License v2.0
...
Update license for RT-Thread kernel.
2018-09-14 22:37:43 +08:00
Bernard Xiong
efe4523132
[Kernel] move module tolibc/libdl.
2018-08-30 20:27:45 +08:00
heyuanjie
c79fbd373f
[lwp]给thread添加lwp成员
2018-07-30 11:12:12 +08:00
liang yongxiang
9945ced57b
[kernel] add assert to thread object
2018-07-11 18:16:39 +08:00
heyuanjie
93afe69c90
添加mdelay接口
2018-05-12 12:08:47 +08:00
BernardXiong
38b9ed3118
[Kernel] add sigwait implementation
2018-03-01 13:36:22 +08:00
Bernard Xiong
2f409c85f1
[Kernel] Use rt_object_get_information to get object chain
2017-12-12 07:36:37 +08:00
weety
c8e64a629a
[kernel] Fixed module issue.
2017-11-23 11:29:02 +08:00
bernard
b27c7e4826
[Kernel] Add signal implementation.
...
1. Add signal implementation;
2. Change the 'rt_uint8_t' of cmd to 'int';
2017-10-15 22:31:53 +08:00
emlslxl
e521decf2e
根据documentation/coding_style_cn.txt约定 对内核src和include目录下的文件代码进行格式化
2017-09-15 11:02:24 +08:00
Bernard Xiong
1f0081e796
[Kernel] Fix typo
2017-06-26 09:16:19 +08:00
Bernard Xiong
8437c049e6
[Kernel] Fix the number_mask initialization issue in TCB.
2017-06-15 23:30:18 +08:00
armink
2d593a22b7
[Kernel] Fix thread delete and thread detach bug. #712
2017-04-10 09:53:45 +08:00
Bernard Xiong
b1f1536688
[kernel] Add thread_inited_hook.
2017-04-09 19:12:53 +08:00
dogandog
2bfacd85ae
Correct comments about doxygen format
...
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
2016-08-19 10:18:38 +08:00
ArdaFu
189e9b9632
[Kernel] add new hooks for support trace componment.
2016-08-09 11:29:11 +08:00
weety
62e770f9de
Fixed 64KB stack size limit.
2016-05-31 20:39:33 +08:00
Bernard Xiong
49b1172b8d
[Kernel] change rt_thread_exit() as a global function.
2016-04-05 14:40:49 +08:00
yuanbin
5968121332
Thread: Make comments in more accurate way
2015-10-23 21:54:40 +08:00
bernard
898e0d2f3f
[Kernel] stop thread timer when suspend a thread
2014-03-11 14:19:24 +08:00
Grissiom
d59aa279c3
kernel: use skip list to implement timer list
...
Skip list is a "random" data structure that in high possibilities it
would get O(log(N)) time complexity in inserting while the old list get
O(N). Forthermore, when set RT_TIMER_SKIP_LIST_LEVEL to 1, it will just
the same as the old double linked list, both in time and space
complexity.
Benchmarks shows that when RT_TIMER_SKIP_LIST_LEVEL is 3, the average
time of random insertion of new timer is about 2 times faster than the
old timer when there are 100 timers and 3 times faster when there are
200 timers.
However, it restores the deprecated funcion rt_system_timer_init. BSPs
must invoke it upon system startup.
2013-10-12 22:48:29 +08:00
Bernard Xiong
79392bb082
Embedded GPLv2 license.
2013-06-24 17:06:09 +08:00