This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push: new f32b4c7f9 examples/thttpd: Remove TCB_FLAG_CANCEL stuff f32b4c7f9 is described below commit f32b4c7f9ca4301302106c6b11c4b32e8dd2a3ea Author: Ville Juven <ville.ju...@unikie.com> AuthorDate: Fri Nov 10 14:19:20 2023 +0200 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