mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
sched: Remove pidhash_s and move ticks to tcb_s
simplify the code logic and reduce memory a little bit Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
13741c9017
commit
8b67944c75
@@ -110,7 +110,7 @@ end
|
||||
|
||||
define esp32_bt_pid
|
||||
set $_pid = $arg0
|
||||
set $_tcb = g_pidhash[$_pid].tcb
|
||||
set $_tcb = g_pidhash[$_pid]
|
||||
if ($_tcb->pid == $_pid)
|
||||
set $_regs = $_tcb->xcp.regs
|
||||
printf "PID %d NAME %s\n", $_pid, $_tcb.name
|
||||
|
||||
Reference in New Issue
Block a user