um: Add pthread-based helper support
authorTiwei Bie <tiwei.btw@antgroup.com>
Wed, 19 Mar 2025 13:55:20 +0000 (21:55 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 20 Mar 2025 08:26:38 +0000 (09:26 +0100)
commit4f087eafdcef24b7160b097ddb9704084767b77a
tree4f7040055e550c02397f307d6fd7e075828b17f1
parent16a0ca5e4e79ca52fb1c4a9194dc6bdadacae4fb
um: Add pthread-based helper support

Introduce a new set of utility functions that can be used to create
pthread-based helpers. Helper threads created in this way will ensure
thread safety for errno while sharing the same memory space.

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