Re: [I] Low priority tasks interrupt high priority threads [nuttx]

2023-11-06 Thread via GitHub
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

Re: [I] Low priority tasks interrupt high priority threads [nuttx]

2023-11-04 Thread via GitHub
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

Re: [I] Low priority tasks interrupt high priority threads [nuttx]

2023-11-04 Thread via GitHub
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

Re: [I] Low priority tasks interrupt high priority threads [nuttx]

2023-11-03 Thread via GitHub
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();

Re: [I] Low priority tasks interrupt high priority threads [nuttx]

2023-10-31 Thread via GitHub
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

Re: [I] Low priority tasks interrupt high priority threads [nuttx]

2023-10-31 Thread via GitHub
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