~lttng/urcu/trunk

« back to all changes in this revision

Viewing changes to tests/benchmark/test_urcu_hash_rw.c

  • Committer: Mathieu Desnoyers
  • Author(s): Michael Jeanson
  • Date: 2016-06-27 20:19:42 UTC
  • Revision ID: git-v1:6893800a4d1cc14dff0395ddcd660a5138db183d
Cleanup: Re-organise source dir

Re-organise the sources, add a top level "src" and "include" dir and
move relevant files.

Disable autotools automated includes and define them manually. This
fixes problems with collision of header names with system headers.

Include the autoconf config.h in the default includes and remove it
where it's explicitely included. Remove _GNU_SOURCE defines since
it's detected at configure for platforms that requires it and added
to the config.h.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21
21
 */
22
22
 
23
 
#define _GNU_SOURCE
24
23
#include "test_urcu_hash.h"
25
24
 
26
25
enum urcu_hash_addremove {