You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/02/08 00:39:12 UTC
[GitHub] [incubator-nuttx] masayuki2009 opened a new pull request #2820: arch, boards, drivers, include, sched, wireless: Change spinlock APIs.
masayuki2009 opened a new pull request #2820:
URL: https://github.com/apache/incubator-nuttx/pull/2820
## Summary
- This commit changes spinlock APIs (spin_lock_irqsave/spin_unlock_irqrestore)
- In the previous implementation, the global spinlock (i.e. g_irq_spin) was used.
- This commit allows to use caller specific spinlock but also supports to use
g_irq_spin for backword compatibility (In this case, NULL must be specified)
- NOTE: see https://github.com/apache/incubator-nuttx/issues/2213
## Impact
- None
## Testing
- Tested with the following configurations
- spresnse:wifi, spresense:wifi_smp
- esp32-devkitc:smp (QEMU), sabre6-quad:smp (QEMU)
- maxi-bit:smp (QEMU), sim:smp
- stm32f4discovery:wifi
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #2820: arch, boards, drivers, include, sched, wireless: Change spinlock APIs.
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #2820:
URL: https://github.com/apache/incubator-nuttx/pull/2820
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org