walnux/sched
chao an bf73fbe774 sched: simplify call of get current tcb
Replace get current tcb method from nxsched_get_tcb(nxsched_gettid()) to this_task(),
change two function calls with inline function to improve performance:

FAR struct tcb_s *tcb = nxsched_get_tcb(nxsched_gettid());
FAR struct tcb_s *tcb = this_task();

Signed-off-by: chao an <anchao.archer@bytedance.com>
2025-03-18 00:22:37 +02:00
..
addrenv sem_waitirq: Use kmap interface to access the semaphore 2024-12-18 08:57:01 +08:00
clock Revert "No need to call sched_lock explicitly after call spin_lock_irqsave, since it will be called in func spin_lock_irqsave." 2025-02-13 14:15:43 +08:00
environ sched/environ: There is no need to use sched_[un]lock 2024-10-11 02:43:11 +08:00
event sched/event: init deleted node to avoid null pointer reference 2024-12-26 23:28:37 +08:00
group group: use tg_mutex to replace tg_joinlock 2025-01-19 17:08:32 +08:00
init sched/init: Fix build error with CONFIG_BOARD_CRASHDUMP_CUSTOM 2025-03-08 00:18:25 +08:00
instrument gprof: move gprof function from sched to libbuiltin/libgcc 2024-11-13 02:42:31 +08:00
irq sched/spin_lock: rename raw_spin_lock to spin_lock_notrace 2025-02-13 20:48:15 +08:00
misc Revert "No need to call sched_lock explicitly after call spin_lock_irqsave, since it will be called in func spin_lock_irqsave." 2025-02-13 14:15:43 +08:00
module modlib:Standardized module loading method 2024-10-05 15:22:02 +08:00
mqueue sched/mqueue/CMakeLists.txt: fix compilation for CONFIG_DISABLE_MQUEUE_SYSV=n 2025-01-17 23:14:39 +08:00
paging Remove duplicate includes across multiple files 2025-01-09 23:30:23 +08:00
pthread pthread_cond_wait: Use atomic_t to protect the waiter count 2025-01-20 23:55:26 +08:00
sched sched: simplify call of get current tcb 2025-03-18 00:22:37 +02:00
semaphore sched/sem_waitirq: Move kmm_map() call to sem_wait() 2025-03-13 12:28:22 +08:00
signal sched: remove all spin_lock_irqsave(NULL) 2025-01-06 23:11:44 +08:00
task pthread: remove enter_critical_section in pthread_mutex 2025-01-12 22:30:35 +08:00
timer sched/timer: remove critical section in setitimer 2025-01-19 17:08:32 +08:00
tls sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
wdog sched/wdog: Fix int-to-pointer-cast and pointer-to-int-cast warnings. 2025-03-08 13:52:37 -03:00
wqueue sched/wqueue: Rename periodic workqueue API. 2025-03-08 13:52:37 -03:00
CMakeLists.txt sched: migrate to SPDX identifier 2024-09-12 01:10:14 +08:00
Kconfig arch: select LIBC_ARCH_ELF when using COREDUMP 2025-01-24 09:37:58 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00