fjpanag commented on issue #3157:
URL: 
https://github.com/apache/incubator-nuttx/issues/3157#issuecomment-806017124


   Aaaand.... Another issue...  
   I haven't reproduced it, but seems theoretically possible.
   
   With buffering enabled.
   
   1. Thread writes to buffer.
   2. Interrupt kicks in and writes to int buffer.
   3. Thread resumes. Flushes int buffer **first**, and then the thread buffer.
   
   This is wrong. In reality the thread was the first to perform the call to 
`syslog()`, while the interrupt is the second.  
   But in the log it appears in reverse order (first the IRQ meessage and then 
the thread's).  
   Syslog shall respect the order that it is requested to log messages.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to