xiaoxiang781216 commented on code in PR #21910:
URL: https://github.com/apache/nuttx/pull/21910#discussion_r4654387629
##########
audio/audio.c:
##########
@@ -89,6 +89,7 @@ struct audio_upperhalf_s
{
struct audio_info_s info; /* Record the last playing audio
format */
mutex_t lock; /* Supports mutual exclusion */
+ mutex_t mqlock; /* Keeps the opens for a thread that
sends */
Review Comment:
let's switch to rmutex?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]