SQ??? event vs. event_perf ??? tevent: Test tevent_immediate performance
authorStefan Metzmacher <metze@samba.org>
Mon, 22 Aug 2016 10:16:58 +0000 (12:16 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 17 May 2018 07:52:28 +0000 (09:52 +0200)
lib/tevent/testsuite.c

index f0c9d55b75f367a13d8a9dc3b5210233650ce34e..3c1ae01670991f8e92a2df9208b2be33e761ab45 100644 (file)
@@ -1618,11 +1618,12 @@ struct torture_suite *torture_local_event(TALLOC_CTX *mem_ctx)
                                               "fd2",
                                               test_event_fd2,
                                               (const void *)list[i]);
+#ifdef HAVE_PTHREAD
                torture_suite_add_simple_tcase_const(
                        backend_suite, "immediate_perf",
                        test_event_context_immediate_perf,
                        list[i]);
-
+#endif
 
                torture_suite_add_suite(suite, backend_suite);
        }