|
infix
A JIT-Powered FFI Library for C
|
A minimal, dependency-free version of the thread-safety stress test. More...
#include "common/infix_config.h"#include <infix/infix.h>#include <stdbool.h>#include <stdint.h>#include <stdio.h>#include <pthread.h>Macros | |
| #define | NUM_THREADS 8 |
| #define | ITERATIONS_PER_THREAD 500 |
Functions | |
| void | bare_helgrind_handler (int a, int b) |
| void * | bare_thread_worker (void *arg) |
| int | main (void) |
A minimal, dependency-free version of the thread-safety stress test.
| #define ITERATIONS_PER_THREAD 500 |
| #define NUM_THREADS 8 |
| void bare_helgrind_handler | ( | int | a, |
| int | b | ||
| ) |
| void * bare_thread_worker | ( | void * | arg | ) |
| int main | ( | void | ) |