pure getcpu() example

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-05-13 01:00:00 +00:00
parent a41f924706
commit f17e68a109
5 changed files with 60 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
#define _GNU_SOURCE
#include <assert.h>
#include <sched.h>
#include <sched.h> /* sched_getaffinity */
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>