[PATCH v2 1/4] um: Add pthread-based helper support
Tiwei Bie
tiwei.btw at antgroup.com
Tue Mar 18 07:55:28 PDT 2025
On 2025/3/18 21:16, Johannes Berg wrote:
> On Tue, 2025-03-18 at 14:06 +0100, Johannes Berg wrote:
>> On Thu, 2025-03-06 at 23:07 +0800, Tiwei Bie wrote:
>>> 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.
>>
>> Using pthreads seemed odd, but Benjamin argues that it's the only way to
>> get libc to really sort it all out, unless we never use libc syscall
>> functions, which is probably kind of unreasonable? Or maybe we could?
>
> It's a long list of symbols that are needed:
> https://p.sipsolutions.net/2f0c8e0de1e69147.txt
Thanks for the list! That's indeed a long one.
Regards,
Tiwei
More information about the linux-um
mailing list