You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "gustavonihei (via GitHub)" <gi...@apache.org> on 2023/04/24 17:40:24 UTC

[GitHub] [nuttx] gustavonihei commented on pull request #9078: esp32: enable LIBC_ARCH_ATOMIC

gustavonihei commented on PR #9078:
URL: https://github.com/apache/nuttx/pull/9078#issuecomment-1520576686

   @yamt Could you please explain about the need for this patch?
   
   ESP32's toolchain does implement the atomic builtins from GCC, so as long as the atomic operation does not include big numbers, this patch shouldn't be necessary.
   Furthermore, it will impose performance overhead due to the use of OS-assisted locking via critical sections instead of the conditional load/store instructions from the Xtensa ISA.


-- 
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@nuttx.apache.org

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