This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Under high contention loads a futex should perform worse. | |
*/ | |
#define _GNU_SOURCE | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <pthread.h> | |
#include <linux/futex.h> | |
#include <sys/syscall.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* GLWT(Good Luck With That) Public License | |
* Copyright (c) Everyone, except Author | |
* | |
* Everyone is permitted to copy, distribute, modify, merge, sell, publish, | |
* sublicense or whatever they want with this software but at their OWN RISK. | |
* | |
* Preamble | |
* | |
* The author has absolutely no clue what the code in this project does. |