]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cpuset: define a platform-independent cpuset type
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 14 Apr 2021 13:03:51 +0000 (15:03 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 23 Apr 2021 14:06:49 +0000 (16:06 +0200)
commitf75c640f7b58de309daa2a95d99abd10ee5be494
tree2af5a14880a0f2823430c325f99b90cdc901eac7
parentde9d605aa56d257e3720f080a8c7f30b54fa6543
MINOR: cpuset: define a platform-independent cpuset type

This module can be used to manipulate a cpu sets in a platform agnostic
way. Use the type cpu_set_t/cpuset_t if available on the platform, or
fallback to unsigned long, which limits de facto the maximum cpu index
to LONGBITS.
Makefile
include/haproxy/cpuset-t.h [new file with mode: 0644]
include/haproxy/cpuset.h [new file with mode: 0644]
src/cpuset.c [new file with mode: 0644]