wfstack.c ���CLV #define _GNU_SOURCE 1 #include <sched.h> // sched_setaffinity #include <stdint.h> #include <stdio.h> #include <limits.h> #include <stdlib.h> #include <stdint.h> #include <pthread.h> #include <assert.h> #include <sys/time.h> #include <urcu-qsbr.h> #define mb() asm volatile("" : : : "memory") #define mf() asm volatile("mfence" : : : "memory") //#define usleep(n) #define CACHELINE 64
![wfstack.c](https://cdn-ak-scissors.b.st-hatena.com/image/square/1ef26f6cb4349557952890dbe3e567f7f98dc151/height=288;version=1;width=512/https%3A%2F%2Fgithub.githubassets.com%2Fassets%2Fgist-og-image-54fd7dc0713e.png)