Add compiler barriers to read-side for mutex ordering
[userspace-rcu.git] / tests / urcutorture.c
CommitLineData
8a953620
MD
1#include <string.h>
2#include <sys/time.h>
3#include <poll.h>
4#include <unistd.h>
5#include <stdlib.h>
94b343fd 6#include <errno.h>
cdc45d63 7#include <urcu/arch.h>
8a953620 8#include "api.h"
121a5d44 9#define _LGPL_SOURCE
1a43bbd8 10
fdf01eed
MD
11#ifdef TORTURE_RCU_MEMBARRIER
12#define RCU_MEMBARRIER
13#include <urcu.h>
14#endif
1a43bbd8 15#ifdef TORTURE_URCU_SIGNAL
fdf01eed 16#define RCU_SIGNAL
ec4e58a3 17#include <urcu.h>
1a43bbd8
MD
18#endif
19#ifdef TORTURE_URCU_MB
02be5561 20#define RCU_MB
1a43bbd8
MD
21#include <urcu.h>
22#endif
23#ifdef TORTURE_QSBR
24#include <urcu-qsbr.h>
25#endif
26#ifdef TORTURE_URCU_BP
27#include <urcu-bp.h>
28#endif
29
48d848c7 30#include <urcu/uatomic_arch.h>
63ff4873 31#include <urcu/rculist.h>
8a953620 32#include "rcutorture.h"
This page took 0.027565 seconds and 4 git commands to generate.