News for hackers. Stuff that matters.
Re:Windows NT vs. Unix: A design comparison by PaulDavisThe1st on Monday September 09, 2024 @06:38PM (#41494960)
pthreads is a user-space API, and has nothing to do with the kernel. It is possible to implement pthreads entirely in user space (though somewhat horrific to do so). Linux does not have kernel threads in order to support pthreads (though they help).

Anyway, I see your point about the bleed between the different semantics of a task_t in the linux kernel.

Re:Windows NT vs. Unix: A design comparison by epcoa on Monday September 09, 2024 @07:33PM (#41495464)
> Linux does not have kernel threads in order to support pthreads

Yes, what I was alluding to somewhat cryptically was things like tgids and the related tkill/tgkill syscalls that as far I am aware were added with the implementation of 1:1 pthread support in mind.