You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "Donny9 (via GitHub)" <gi...@apache.org> on 2023/04/12 11:30:05 UTC
[GitHub] [nuttx] Donny9 opened a new pull request, #9007: sched/wqueue: fix issue about worker can't wake up thread before work_thread running
Donny9 opened a new pull request, #9007:
URL: https://github.com/apache/nuttx/pull/9007
## Summary
sched/wqueue: fix issue about worker can't wake up thread before work_thread running_thread running
Problem:
AppBringup task in default priority 240 ->
board_late_initialize() ->
some driver called work_queue() ->
nxsem_post(&(wqueue).sem) failed because sem_count is 0
hp work_thread in default priority 224 ->
nxsem_wait_uninterruptible(&wqueue->sem);
so hp_work_thread can't wake up, worker can't run immediately.
Signed-off-by: dongjiuzhu1 <do...@xiaomi.com>
## Impact
start work queue at board_late_initialize step.
## Testing
local 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 comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] pkarashchenko commented on pull request #9007: sched/wqueue: fix issue about worker can't wake up thread before work_thread running
Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
pkarashchenko commented on PR #9007:
URL: https://github.com/apache/nuttx/pull/9007#issuecomment-1508255043
Please rebase
--
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
[GitHub] [nuttx] pkarashchenko commented on pull request #9007: sched/wqueue: fix issue about worker can't wake up thread before work_thread running
Posted by "pkarashchenko (via GitHub)" <gi...@apache.org>.
pkarashchenko commented on PR #9007:
URL: https://github.com/apache/nuttx/pull/9007#issuecomment-1505160072
What is the impact on LPWORK?
--
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
[GitHub] [nuttx] Donny9 commented on pull request #9007: sched/wqueue: fix issue about worker can't wake up thread before work_thread running
Posted by "Donny9 (via GitHub)" <gi...@apache.org>.
Donny9 commented on PR #9007:
URL: https://github.com/apache/nuttx/pull/9007#issuecomment-1506346361
> What is the impact on LPWORK?
Same impact for lpwork and hpwork. Because the priority of AppBringup is higher lpwork and hpwork.
--
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
[GitHub] [nuttx] xiaoxiang781216 merged pull request #9007: sched/wqueue: fix issue about worker can't wake up thread before work_thread running
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #9007:
URL: https://github.com/apache/nuttx/pull/9007
--
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