mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
By default rexecd spawns a detached worker thread per accepted connection to allow concurrent sessions. Add a "-t" runtime option to instead handle each connection inline in the main task, avoiding the per-connection worker stack (CONFIG_NETUTILS_REXECD_STACKSIZE) allocation from the heap. This matters on low-memory targets with limited free heap. With "-t", connections are served strictly one at a time: a long-running or interactive command blocks the accept loop until it finishes. Without it, the existing thread-per-connection behaviour is unchanged. Assisted-by: GitHubCopilot:claude-4.8-opus Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| Makefile | ||
| rexecd.c | ||