nuttx/sched
hujun5 7db6632ab3 sched: irq: Change this_task to current_task(me) in restore_critical_section()
this_task() is a function call that involves disabling interrupts and this_cpu().
Since restore_critical_section is always called in an interrupt-disabled context,
there's no need to disable interrupts again. Therefore, to save time and achieve
the same effect, I directly call tcb = current_task(me) instead of tcb = this_task().

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-06-21 11:11:07 +09:00
..
addrenv
clock
environ
group sched/pthread: simplify pthread_create() branch logic 2024-06-07 01:32:42 +08:00
init sched/kconfig: add PID_INITIAL_COUNT 2024-06-12 16:10:35 +08:00
instrument
irq sched: irq: Change this_task to current_task(me) in restore_critical_section() 2024-06-21 11:11:07 +09:00
misc fix nxstyle 2024-05-11 01:19:06 +08:00
module
mqueue sched/mqueue: move message queue buffer to bss 2024-06-04 14:26:55 +08:00
paging
pthread sched/pthread: simplify pthread_create() branch logic 2024-06-07 01:32:42 +08:00
sched sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
semaphore sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
signal sched/signal: move signal structures pool to bss 2024-06-04 14:26:55 +08:00
task sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
timer timer: use spin_lock_irqsave protect g_alloctimers 2024-04-11 10:45:34 +08:00
tls tls: fix build error under CONFIG_PTHREAD_ATFORK enabled 2024-05-28 13:54:30 +02:00
wdog
wqueue Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
CMakeLists.txt
Kconfig sched/kconfig: add PID_INITIAL_COUNT 2024-06-12 16:10:35 +08:00
Makefile