# Re: \[PATCH v8 0/6\] cgroup/cpuset: Add new cpuset partition type \& empty effecitve cpus

- From: Jan Kiszka \<jan.kiszka@siemens.com\>
- Date: 2021-11-10 18:29:16 
- List: linux-doc
- Page: https://ratatoskr.run/linux-doc/2021/11/1568575
- Thread: https://ratatoskr.run/cgroups/2021/10/1545921/t.md

```text
On 10.11.21 18:52, Michal Koutný wrote:
> On Wed, Nov 10, 2021 at 05:15:41PM +0100, Jan Kiszka [ref] wrote:
>> Is there pthread_attr_setcgroup_np()?
> 
> If I'm not mistaken the 'p' in pthreads stands for POSIX and cgroups are
> Linux specific so you won't find that (unless you implement that
> yourself). ¯\_(ツ)_/¯
> 

I know what it stands for :). But I don't want to re-implement pthreads
just to have a single creation-time configurable injected. Neither would
developer of standard application, e.g. libvirt for the rt-kvm special
case while most of their use cases are fine with regular pthread APIs. I
think there is also a demand for a programming model that fits into
existing ones.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
```
