xiaoxiang781216 closed issue #6012: Low priority tasks interrupt high priority
threads
URL: https://github.com/apache/nuttx/issues/6012
--
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 c
raiden00pl commented on issue #6012:
URL: https://github.com/apache/nuttx/issues/6012#issuecomment-1793405693
@zouboan rwlock from https://github.com/apache/nuttx/pull/10776 will work
only for SMP, otherwise it may cause deadlocks under certain conditions. So
unfortunately it won't help us
zouboan commented on issue #6012:
URL: https://github.com/apache/nuttx/issues/6012#issuecomment-1793402243
I tried use rwlock_t in #10776 to solve this issue, but unfortunately, there
are some compilation errors:
```
CXX: libcxxmini/libxx_delete.cxx In file included from
/home/zouboa
raiden00pl commented on issue #6012:
URL: https://github.com/apache/nuttx/issues/6012#issuecomment-1792748162
I came back to this problem.
Why not just add critical section like suggested before (only in this
specific place):
``` C
flags = enter_critical_section();
zouboan commented on issue #6012:
URL: https://github.com/apache/nuttx/issues/6012#issuecomment-1787465862
Nice! Let me have a test.
--
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 c
raiden00pl commented on issue #6012:
URL: https://github.com/apache/nuttx/issues/6012#issuecomment-1787118246
Can we use rwlock_t from https://github.com/apache/nuttx/pull/10776 to solve
this issue ?
atomic_int is C11 feature I think, so probably it won't be available on all
supported p