summaryrefslogtreecommitdiff
path: root/src/scheduler.c
AgeCommit message (Collapse)Author
2019-01-24[Kernel] Fix rt_schedule_insert_thread issueBernard Xiong
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-13[Kernel] Enable RUNNING status in thread.Bernard Xiong
2018-12-19[kernel] format scheduler log.Bernard Xiong
2018-12-18Merge pull request #2081 from jesven/sync_smp_skeletonBernard Xiong
Sync smp skeleton
2018-12-17remove rt_hw_mb defineshaojinchun
sync smp skeleton
2018-12-15reduce changezhaohengbo
2018-12-15fix some bug when stack grows upwardzhaohengbo
2018-12-14[Kernel] Fix the thread->sp data type issue.Bernard Xiong
2018-12-121 RT_THREAD_CTRL_BIND_CPU define to 4shaojinchun
2 RTM_EXPORT(rt_cpus_lock_status_restore) 3 sync ARCH_CPU_STACK_GROWS_UPWARD in _rt_scheduler_stack_check()
2018-11-22Add smp support to RT-Thread 4.0shaojinchun
2018-11-20Merge branch 'master' into dev-4.0.xBernard Xiong
2018-11-11[Kernel] Add ARCH_CPU_STACK_GROWS_UPWARD optionBernard Xiong
2018-10-26[Kernel] Add 64bit CPU support.Bernard Xiong
2018-09-25[Kernel] Adjust the copyright informationBernard Xiong
2018-09-14[Kernel] Update to Apache License v2.0Bernard Xiong
Update license for RT-Thread kernel.
2018-03-01[Kernel] add sigwait implementationBernardXiong
2017-10-18[Kernel] Fix a bug on rt_schedule().armink
2017-10-15[Kernel] Add signal implementation.bernard
1. Add signal implementation; 2. Change the 'rt_uint8_t' of cmd to 'int';
2017-09-15根据documentation/coding_style_cn.txt约定 ↵emlslxl
对内核src和include目录下的文件代码进行格式化
2017-07-29[kernel] fix incompatible type error for "__rt_ffs()"tanek liang
2016-08-19Correct comments about doxygen formatdogandog
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
2016-06-02[src] scheduler update stackcheckAubr.Cool
2015-08-03[Kernel] export more symbols.Bernard Xiong
2013-12-21kernel: add rt_critical_level that return the lock count of schedulerGrissiom
Out side world may be interested in whether the scheduler is locked or not. Provide an API to tell that.
2013-08-19fix debug output of schedulerGrissiom
When print the thread names, we should use "%.*s" instead of bare "%s".
2013-06-24Embedded GPLv2 license.Bernard Xiong
2013-03-23implement __rt_ffs in kernel service libraryBernard Xiong
2012-12-29Add RT_USING_MEMHEAP_AS_HEAP feature: system can use "heap" memheap as ↵[email protected]
system default memory heap. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2554 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-25fixed coding style in src/scheduler.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2526 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-20fixed the coding style of RT_DEBUG_LOG[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2500 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-28remove rt_current_module and user can use rt_module_unload to remove a module.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2458 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-14cleanup code comments and deprecate rt_system_timer_init function.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2045 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-22move src\kservice.h to include\rtservice.h.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2005 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-17unify the coding style of kerneldzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1998 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-21cleanup kernel codedzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1715 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-14change the RT_DEBUG_NOT_REENT to RT_DEBUG_NOT_IN_INTERRUPT.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1503 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12Add reentrance check. Put kernel debug switch together.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-14cleanup trace log.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1404 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-13add defunct list initialization even if not use heap.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1199 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30fix compiling issue when RT_USING_HEAP is not defined.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1149 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29update doxygen comments.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-28implement module memory allocatorqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1030 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-19module clean up qiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@915 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-13fix down alignment issue; fix the maximal number of rt_scheduler_lock_nest ↵bernard.xiong
issue; fix rt_tick_from_millisecond issue. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@790 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-16module developingqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@625 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-14add __ICCM16C__ compiler support.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@621 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-12add module featureqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@614 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-31support maximal priority level is 8.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@568 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-12-25add license and copyright infobernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@226 bbd45198-f89e-11dd-88c7-29a3b14d5316
2009-09-20convert dos endline to unix endline; cleanup schedule code for STM32bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@49 bbd45198-f89e-11dd-88c7-29a3b14d5316