Elektrine lite

← Feed

@encukou@mastodon.social

Post #2167956

2026-05-06 06:41 UTC

@itamarst File a bug for stdlib? Meanwhile you can use the cgroups2 CPU bandwidth API: read two numbers from `/sys/fs/cgroup/cpu.max`, divide, round up. https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#:~:text=cpu.max

Replies (0)

No replies.