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

@@ -5,6 +5,7 @@
#include <pthread.h>
#include <stdint.h>
#include <stdio.h>
#include <sched.h> /* sched_getcpu */
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>