Details
Details
- Reviewers
kib concussious.bugzilla_runbox.com - Commits
- rG36887e04947f: sched_getcpu: Add man page
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
lib/libsys/sched_getcpu.3 | ||
---|---|---|
23 ↗ | (On Diff #146389) | The result is invalid at a moment it is returned, unless the thread is pinned to specific cpu. |
26 ↗ | (On Diff #146389) | Perhaps note that the index is same as used by cpuset/affinity calls, like cpuset, cpuset_getaffinity, pthread_getaffinity_np. |
28 ↗ | (On Diff #146389) | Then this section becomes useful. |
Comment Actions
If you move the page to section 3, it should be in lib/libc/gen.
I wondered about that, but the implementation is in libsys and there are a small number of section 3 pages in libsys, like getpagesize.3, so should be the same for sched_getcpu, no?