rt-thread-official/src
Frank Buss e80facfd06 remove unused code to improve speed
The RT_ASSERT(obj != object) line is only compiled for debug mode.
But the rt_enter/exit_critical causes the compiler not to optimize
at least these 2 calls, even if it could optimize out the whole loop,
because the rt_list_entry function has no side effect, and RT_ASSET
is a no-operation in release mode. So this patch fixes this:
- no warnings anymore
- better speed in release mode
2022-10-08 22:37:41 -04:00
..
Kconfig change version number to v5.0.0 (#6291) 2022-08-28 23:28:30 +08:00
SConscript 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
clock.c [add] src/clock.c add hook for rt_tick_increase (#5569) 2022-02-13 14:50:51 +08:00
components.c tms320f28379d fix init (#6343) 2022-08-29 15:35:23 -04:00
cpu.c uniform code writing-disable interrupt 2022-04-20 14:22:43 +08:00
device.c [device.c] fix the comment, add RT_DEBUG_LOG 2022-03-27 23:19:25 -04:00
idle.c [kernel] 优化内置线程命名 2022-08-25 10:11:35 +08:00
ipc.c [fix] Fix simulator compilation warnings (#6438) 2022-09-20 10:31:11 -04:00
irq.c [bsp][tms320f28379d] Fix compile ti (#6254) 2022-08-20 13:16:41 -04:00
kservice.c [kernel][version] 采用新的版本宏定义 2022-09-07 10:11:45 -04:00
mem.c 修复低概率终端无法输入问题 (#6464) 2022-09-27 11:11:29 +08:00
memheap.c [memheap] Fix the Oz optimization problem of AC6 compiler 2022-09-19 23:30:44 -04:00
mempool.c [kernel] remove the register keyword (#5888) 2022-04-29 06:34:42 +08:00
object.c remove unused code to improve speed 2022-10-08 22:37:41 -04:00
scheduler.c [kernel/schedule] fix the time slice issue 2022-08-16 00:05:56 -04:00
signal.c uniform code writing-disable interrupt 2022-04-20 14:22:43 +08:00
slab.c 分离内存分配接口与内存分配算法 (#5175) 2021-12-16 16:23:58 +08:00
thread.c [kernel] 当tick为0时rt_thread_sleep不应该挂起线程 2022-08-31 13:57:43 +08:00
timer.c Fix some compilation warning (#5744) 2022-08-02 12:09:49 -04:00