You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/09/26 20:51:29 UTC

[GitHub] [mynewt-core] kasjer opened a new pull request, #2883: tcp_console: Fix race condition

kasjer opened a new pull request, #2883:
URL: https://github.com/apache/mynewt-core/pull/2883

   tcp_console_flush was being called from main task
   via tx_flush_event and from tcpip task that called tcp_console_writable.
   It this happened at the same time tcp_console_out_buf could be double freed.
   
   Now flushing happens only from tcpip task and tcp_console_out_buf is handed over to tcpip thread in critical section to prevent race.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

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


[GitHub] [mynewt-core] apache-mynewt-bot commented on pull request #2883: tcp_console: Fix race condition

Posted by GitBox <gi...@apache.org>.
apache-mynewt-bot commented on PR #2883:
URL: https://github.com/apache/mynewt-core/pull/2883#issuecomment-1258621012

   
   <!-- style-bot -->
   
   ## Style check summary
   
   #### No suggestions at this time!
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

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


[GitHub] [mynewt-core] kasjer merged pull request #2883: tcp_console: Fix race condition

Posted by GitBox <gi...@apache.org>.
kasjer merged PR #2883:
URL: https://github.com/apache/mynewt-core/pull/2883


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

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