fix: handle EINTR correctly in get_cpu_mask_from_sysfs
[urcu.git] / tests / unit / test_urcu_multiflavor-qsbr.c
... / ...
CommitLineData
1// SPDX-FileCopyrightText: 2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2//
3// SPDX-License-Identifier: GPL-2.0-or-later
4
5/*
6 * Userspace RCU library - test multiple RCU flavors into one program
7 */
8
9#ifndef DYNAMIC_LINK_TEST
10#define _LGPL_SOURCE
11#endif
12
13#include <urcu-qsbr.h>
14#include "test_urcu_multiflavor.h"
15
16int test_mf_qsbr(void)
17{
18 rcu_register_thread();
19 rcu_read_lock();
20 rcu_read_unlock();
21 synchronize_rcu();
22 rcu_unregister_thread();
23 return 0;
24}
This page took 0.022647 seconds and 5 git commands to generate.