Hi, lists

And I clearly know that writing to file could not be guaranteed
to be completed in a limited duration(i.e. before a specific
deadline).

Since logging information during the execution of real-time
tasks can help me understand what lead to a bug or crash,
so my question is how can I  write neccerary logs for
real-time tasks?

As far as I know, I can achieve this goal by

1. write the log in real-time thread by XDDP
   or
   write the log to a block of already allocated memory
2. read out the said log in non-real-time thread and write them to a file

Is there any better method?
Thank you for your attention to this matter.

Reply via email to