return true;
}
+#ifdef HAVE_PTHREAD
+
struct immediate_perf_state {
pthread_mutex_t mutex;
struct timeval start;
return true;
}
-#ifdef HAVE_PTHREAD
-
static pthread_mutex_t threaded_mutex = PTHREAD_MUTEX_INITIALIZER;
static bool do_shutdown = false;
struct torture_suite *suite = torture_suite_create(
mem_ctx, "event_perf");
+#ifdef HAVE_PTHREAD
torture_suite_add_simple_tcase_const(suite, "immediate_perf",
test_event_context_immediate_perf,
NULL);
+#endif
return suite;
}