diff options
Diffstat (limited to 'nuttx/sched/sched_releasetcb.c')
-rw-r--r-- | nuttx/sched/sched_releasetcb.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/nuttx/sched/sched_releasetcb.c b/nuttx/sched/sched_releasetcb.c index 362f67ef5..21837262d 100644 --- a/nuttx/sched/sched_releasetcb.c +++ b/nuttx/sched/sched_releasetcb.c @@ -61,15 +61,15 @@ static void sched_releasepid(pid_t pid) { - int hash_ndx = PIDHASH(pid); + int hash_ndx = PIDHASH(pid); - /* Make any pid associated with this hash available. Note: - * no special precautions need be taken here because the - * following action is atomic - */ + /* Make any pid associated with this hash available. Note: + * no special precautions need be taken here because the + * following action is atomic + */ - g_pidhash[hash_ndx].tcb = NULL; - g_pidhash[hash_ndx].pid = INVALID_PROCESS_ID; + g_pidhash[hash_ndx].tcb = NULL; + g_pidhash[hash_ndx].pid = INVALID_PROCESS_ID; } /************************************************************************ @@ -77,7 +77,7 @@ static void sched_releasepid(pid_t pid) ************************************************************************/ /************************************************************************ - * Function: sched_releasetcb + * Name: sched_releasetcb * * Description: * Free all resources contained in a TCB |