Since the netstats handler calls on functions which reach deep into the networking stack, there is a lot of points actually at which it can be blocked, even forever. So having this handler on the system workqueue is not a good idea and can even cause a deadlock in some cases if it's blocked waiting on a synchronization primitive that would be given by a work item scheduled later in the queue. Therefore, make a workqueue specifically for this http server socket instead of using the system one. Signed-off-by: Declan Snyder <declan.snyder@nxp.com> |
||
|---|---|---|
| .. | ||
| application_development | ||
| arch | ||
| basic | ||
| bluetooth | ||
| boards | ||
| cpp | ||
| data_structures | ||
| drivers | ||
| hello_world | ||
| kernel | ||
| modules | ||
| net | ||
| philosophers | ||
| posix | ||
| psa | ||
| sensor | ||
| shields | ||
| subsys | ||
| synchronization | ||
| sysbuild | ||
| tfm_integration | ||
| userspace | ||
| index.rst | ||
| sample_definition_and_criteria.rst | ||