mirror of
https://github.com/apache/nuttx.git
synced 2026-03-27 10:39:28 +08:00
Replace global enter_critical_section() with lightweight spinlock in gethostname() and sethostname() to reduce interrupt latency while protecting access to the shared hostname string. Signed-off-by: hujun5 <hujun5@xiaomi.com>