um: Switch to the pthread-based helper in sigio workaround
authorTiwei Bie <tiwei.btw@antgroup.com>
Wed, 19 Mar 2025 13:55:22 +0000 (21:55 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 20 Mar 2025 08:26:38 +0000 (09:26 +0100)
commitd295beeed2552a987796d627ba7d0985b1e2d72f
treec879ba0194476c539af7f4aac2023259bba6a584
parentd7f89a9da4328eee450d2e72631d1ec7e52976f0
um: Switch to the pthread-based helper in sigio workaround

The write_sigio thread and UML kernel thread share the same errno,
which can lead to conflicts when both call syscalls concurrently.
Switch to the pthread-based helper to address this issue.

Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Link: https://patch.msgid.link/20250319135523.97050-4-tiwei.btw@antgroup.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/os-Linux/sigio.c