git: eaf3c3af9c88 - main - cpuset.9: add description of CPU_ISSET()
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Feb 2022 15:06:13 UTC
The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=eaf3c3af9c88dc63ea09833397f2bbeded16f553 commit eaf3c3af9c88dc63ea09833397f2bbeded16f553 Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2022-02-14 14:59:37 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2022-02-14 14:59:37 +0000 cpuset.9: add description of CPU_ISSET() PR: 261947 Reported by: thmu7 at freenet.de (Thomas Mueller) MFC after: 3 days --- share/man/man9/cpuset.9 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/share/man/man9/cpuset.9 b/share/man/man9/cpuset.9 index 92b759b438a3..29dbc8fc733b 100644 --- a/share/man/man9/cpuset.9 +++ b/share/man/man9/cpuset.9 @@ -178,6 +178,15 @@ The macro sets the bit representing the CPU with atomic acquire semantics. .Pp The +.Fn CPU_ISSET +macro returns +.Dv true +if CPU +.Fa cpu_idx +is a member of the cpuset pointed to by +.Fa cpuset . +.Pp +The .Fn CPU_ZERO macro removes all CPUs from .Fa cpuset .