anchao commented on PR #15842: URL: https://github.com/apache/nuttx/pull/15842#issuecomment-2664756130
> maybe this comment is a bit off-topic. > > i feel it's better for us to provide a native CV implementation. it's tricky to implement condvar semantics correctly with semaphores. it isn't viable especially when it's done in many places as nuttx does. cf. https://www.microsoft.com/en-us/research/wp-content/uploads/2004/12/ImplementingCVs.pdf what do you think? Or should we implement an interface like `nxsem_broadcast()`? (corresponding to pthread_cond_broadcast()) https://pubs.opengroup.org/onlinepubs/007904975/functions/pthread_cond_broadcast.html But this may be another topic -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org