FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [October 2005 Threads] Trace and List FacilityPosted by Nobody/Anonymous on October 27, 2005 Can the trace and list facility list to the same buffer or do they need to have separate buffers?
Thanks.
RE: Trace and List FacilityPosted by Nobody/Anonymous on October 27, 2005 They can be the same buffer (but obviously not used at the same time :-).
RE: Trace and List FacilityPosted by Nobody/Anonymous on October 28, 2005 Can you use vTaskList() without running vTaskStartTrace()? (as long as everything else is enabled?)
RE: Trace and List FacilityPosted by Nobody/Anonymous on October 28, 2005 The WEB server demos do exactly this to generate a page that shows the current tasks and their states - so the answer is yes.
There is a caveat in that listing the tasks leaves interrupts disabled for longer than would normally be advisable so this is good for getting debug information and demonstration but is not good for production systems. I think this is to capture a snapshot of the state the state cannot change while the sprintf's are being called so interrupts have to be disabled while the whole table is generated.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|