summaryrefslogtreecommitdiff
path: root/src/thread.c
AgeCommit message (Collapse)Author
2019-05-11fix signal codeshaojinchun
2019-02-14[ptherad] Fix pthread_exit issueBernard Xiong
When pthread invokes pthread_exit, it just detach self.
2019-01-13[Kernel] Enable RUNNING status in thread.Bernard Xiong
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-08-30[Kernel] move module tolibc/libdl.Bernard Xiong
2018-07-30[lwp]给thread添加lwp成员heyuanjie
2018-07-11[kernel] add assert to thread objectliang yongxiang
2018-05-12添加mdelay接口heyuanjie
2018-03-01[Kernel] add sigwait implementationBernardXiong
2017-12-12[Kernel] Use rt_object_get_information to get object chainBernard Xiong
2017-11-23[kernel] Fixed module issue.weety
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-06-26[Kernel] Fix typoBernard Xiong
2017-06-15[Kernel] Fix the number_mask initialization issue in TCB.Bernard Xiong
2017-04-10[Kernel] Fix thread delete and thread detach bug. #712armink
2017-04-09[kernel] Add thread_inited_hook.Bernard Xiong
2016-08-19Correct comments about doxygen formatdogandog
chang /*@{*/ to /**@{*/ and /*@}*/ to /**@}*/
2016-08-09[Kernel] add new hooks for support trace componment.ArdaFu
2016-05-31Fixed 64KB stack size limit.weety
2016-04-05[Kernel] change rt_thread_exit() as a global function.Bernard Xiong
2015-10-23Thread: Make comments in more accurate wayyuanbin
2014-03-11[Kernel] stop thread timer when suspend a threadbernard
2013-10-12kernel: use skip list to implement timer listGrissiom
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-06-24Embedded GPLv2 license.Bernard Xiong
2013-04-25add RT_KERNEL_MALLOC/FREEBernard 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-21fixed the coding style in thread.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2506 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-21fixed the coding style in thread.c[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2505 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-08-27split export symbols from rtm.c to each file[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2263 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-04delete Line 33 in thread.c, the variable isn't used at all. [email protected]
extern rt_uint8_t rt_current_priority; git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2153 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-02change the return type of function rt_object_is_systemobject()[email protected]
using rt_bool_t instead of rt_err_t git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2150 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
2012-01-31deprecated rt_system_tick_init function.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1931 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-09refine the code in thread.c, delete the unnecessary line [email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1913 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23cleanup kernel codedzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1722 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-09-08fixed the scheduling issue in rt_thread_startup; changed the end of line to ↵bernard.xiong
UNIX style. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1703 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-07do a scheduling when start a thread.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1701 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01add reporter.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1690 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-01fixed rt_thread_exit issue if the current thread has been preempted.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1689 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-06-02change the wrong end of line (all of them shall be UNIX end of line). bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1445 bbd45198-f89e-11dd-88c7-29a3b14d5316