blta
7750358bed
[kernel/schedule] fix the time slice issue
2022-08-16 00:05:56 -04:00
Man, Jianting (Meco)
4a12bc2ad8
[kernel] rename _rt_scheduler_stack_check as _scheduler_stack_check ( #5889 )
2022-04-29 06:35:12 +08:00
Man, Jianting (Meco)
6295ec108e
[kernel] remove the register keyword ( #5888 )
2022-04-29 06:34:42 +08:00
thewon86
f5b0bfd3f4
uniform code writing-disable interrupt
2022-04-20 14:22:43 +08:00
Gabriel Wang
844f2ef76f
Merge branch 'master' into master
2022-01-08 20:07:54 +00:00
Gabriel Wang
6bb9e546de
change all double-empty-lines to single-empty-lines
2022-01-08 20:04:43 +00:00
Man, Jianting (Meco)
bb1084556f
[console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
...
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* format codes
* [libc] 整理格式
* refresh projects
2022-01-09 00:20:32 +08:00
Gabriel Wang
d7b8cf81e6
move some __on_rt_xxxxx_hook from rtdef.h to dedicated c soure files
2022-01-07 23:35:44 +00:00
yangjie
464d0c5a97
[kernel] update comments
2021-09-11 16:40:56 +08:00
yangjie
a912a2f88f
[kernel]Normalized kernel API annotation
2021-09-10 17:31:31 +08:00
Bernard Xiong
054f6db3e6
Merge pull request #4760 from mysterywolf/Internafunction
...
[kernel] 规范内核内部函数命名
2021-08-05 16:57:16 +08:00
Meco Man
c10678c1f0
内部函数以_开头
2021-08-04 10:53:17 +08:00
fenghuijie
0015af02e4
调整代码,以支持cpu usage
2021-07-05 18:33:22 +08:00
fenghuijie
05bb1a50b0
添加idle回收资源的修改
2021-07-03 17:54:58 +08:00
Meco Man
8b53609f57
[kernel] 补充endif后缀注释(3)
2021-06-10 18:39:43 +08:00
Meco Man
076941612a
[kernel] 规范内核内部函数命名
2021-06-04 00:34:27 +08:00
Meco Man
2e11562772
[kernel][注释] 明确rt_schedule的调度时刻
2021-05-29 19:10:48 +08:00
Meco Man
678306d300
[kernel]auto formatted
2021-03-08 11:25:38 +08:00
tangweikang
f91089b578
[BSP][STM32] update void HAL_Delay(__IO uint32_t Delay)
2020-12-08 14:36:38 +08:00
yangjie11
1784c8be31
[src][scheduler] remove RT_USING_FINSH in kernel, remove list_thread()
2020-11-21 14:53:30 +08:00
Bernard Xiong
aeff91b2a7
Merge pull request #3769 from jesven/fix_yield
...
解决yield操作不能及时释放cpu的问题
2020-10-01 15:46:10 +08:00
shaojinchun
731e64f0c5
修正多核rt_schedule_remove_thread时pcpu的ready_table判断问题
2020-09-04 12:12:01 +08:00
shaojinchun
0e61949116
avoid deadlock (rt_hw_interrupt_disable and rt_enter_critical when enable smp)
2020-07-28 09:55:01 +08:00
shaojinchun
3ed84b8d03
解决yield操作不能及时释放cpu的问题
2020-07-24 21:13:56 +08:00
Bernard Xiong
69e8c0324e
Merge pull request #3199 from BernardXiong/fix_signal_issue
...
[Kernel] Fix the signal issue when the context switch is triggered bu…
2019-11-13 08:59:39 +08:00
Bernard Xiong
6fca4a7722
[Kernel] Fix the signal issue when the context switch is triggered but not immediately handled.
2019-11-12 21:23:56 +08:00
shaojinchun
e03ac83ad3
将yield状态置于tcb的stat位域中
2019-11-05 08:41:38 +08:00
shaojinchun
9a38bba168
使can_yield成员的赋值更好理解
2019-10-12 11:57:27 +08:00
shaojinchun
b53bd79783
同步单核时的同优先级切换问题
2019-10-12 11:52:08 +08:00
shaojinchun
234af6aaa2
修正相同优先级任务切换太频繁的问题
2019-10-12 10:51:47 +08:00
Bernard Xiong
71311b73ae
[Kernel] Fix the wrong indentation
2019-09-28 12:26:48 +08:00
shaojinchun
cb07e5fb24
开放spinlock相关函数
2019-09-27 14:38:33 +08:00
shaojinchun
8dd2a07d45
去除scheduler.c的_get_highest_priority_thread函数中重复判断
2019-05-11 13:51:50 +08:00
shaojinchun
737d58fbb9
修正_get_highest_priority_thread中对“是否只有idle可运行”判断位置的问题
2019-05-11 09:35:17 +08:00
shaojinchun
6cdfb2ac92
fix signal code
2019-05-11 09:34:26 +08:00
Bernard Xiong
0366eb13ac
[Kernel] Fix the critical issue when scheduler not start
2019-04-04 10:58:24 +08:00
Bernard Xiong
d517389e52
[Kernel] Fix the critical issue under smp
2019-04-04 10:06:28 +08:00
Bernard Xiong
69994ca210
[Kernel] Fix rt_schedule_insert_thread issue
...
When suspend current thread and then enable interrupt, it's possible resume "the current thread" immediately and insert to ready queue. The rt_schedule_insert_thread should change the status of "current thread" to RUNNING statue.
2019-01-24 09:30:30 +08:00
Bernard Xiong
de624c52c1
[Kernel] Enable RUNNING status in thread.
2019-01-13 11:23:08 +08:00
Bernard Xiong
58be04b693
[kernel] format scheduler log.
2018-12-19 20:10:18 +08:00
Bernard Xiong
a74a3031f0
Merge pull request #2081 from jesven/sync_smp_skeleton
...
Sync smp skeleton
2018-12-18 14:02:04 +08:00
shaojinchun
eff767a074
remove rt_hw_mb define
...
sync smp skeleton
2018-12-17 11:02:09 +08:00
zhaohengbo
10d00ff41c
reduce change
2018-12-15 20:27:38 +08:00
zhaohengbo
afcd8b4521
fix some bug when stack grows upward
2018-12-15 11:20:24 +08:00
Bernard Xiong
f9f959f33e
[Kernel] Fix the thread->sp data type issue.
2018-12-14 22:46:34 +08:00
shaojinchun
b3e1507bcf
1 RT_THREAD_CTRL_BIND_CPU define to 4
...
2 RTM_EXPORT(rt_cpus_lock_status_restore)
3 sync ARCH_CPU_STACK_GROWS_UPWARD in _rt_scheduler_stack_check()
2018-12-12 09:36:39 +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