jlaitine commented on code in PR #16030: URL: https://github.com/apache/nuttx/pull/16030#discussion_r2008087983
########## include/nuttx/semaphore.h: ########## @@ -59,6 +59,54 @@ {(c), (f), SEM_WAITLIST_INITIALIZER} #endif /* CONFIG_PRIORITY_INHERITANCE */ +/* Fast mutex lock/unlock path */ + +#ifndef CONFIG_LIBC_ARCH_ATOMIC Review Comment: With LIBC_ARCH_ATOMIC the whole atomic optimization makes no sense and makes it slower... -- 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