From f32b4c7f9ca4301302106c6b11c4b32e8dd2a3ea Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Fri, 10 Nov 2023 14:19:20 +0200 Subject: [PATCH] examples/thttpd: Remove TCB_FLAG_CANCEL stuff The flags are removed from kernel side --- examples/thttpd/content/tasks/tasks.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/thttpd/content/tasks/tasks.c b/examples/thttpd/content/tasks/tasks.c index e865d208c..5edb15c08 100644 --- a/examples/thttpd/content/tasks/tasks.c +++ b/examples/thttpd/content/tasks/tasks.c @@ -96,15 +96,13 @@ void show_task(FAR struct tcb_s *tcb, FAR void *arg) policy = g_policynames[(tcb->flags & TCB_FLAG_POLICY_MASK) >> TCB_FLAG_POLICY_SHIFT]; #if CONFIG_TASK_NAME_SIZE > 0 - printf("%5d %3d %4s %7s%c%c %8s %s\n", + printf("%5d %3d %4s %7s %8s %s\n", #else - printf("%5d %3d %4s %7s%c%c %8s\n", + printf("%5d %3d %4s %7s %8s\n", #endif tcb->pid, tcb->sched_priority, policy, g_ttypenames[(tcb->flags & TCB_FLAG_TTYPE_MASK) >> TCB_FLAG_TTYPE_SHIFT], - tcb->flags & TCB_FLAG_NONCANCELABLE ? 'N' : ' ', - tcb->flags & TCB_FLAG_CANCEL_PENDING ? 'P' : ' ', g_statenames[tcb->task_state] #if CONFIG_TASK_NAME_SIZE > 0 , tcb->name