Remove superflous endif comments.
This commit is contained in:
parent
f518f94b20
commit
c5a2f1570d
@ -35,7 +35,7 @@
|
|||||||
#if TD_LINUX
|
#if TD_LINUX
|
||||||
#include <linux/errqueue.h>
|
#include <linux/errqueue.h>
|
||||||
#endif
|
#endif
|
||||||
#endif // TD_PORT_POSIX
|
#endif
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
@ -65,4 +65,4 @@ TEST(EpochBaseMemoryReclamation, stress) {
|
|||||||
}
|
}
|
||||||
CHECK(ebmr.to_delete_size_unsafe() == 0);
|
CHECK(ebmr.to_delete_size_unsafe() == 0);
|
||||||
}
|
}
|
||||||
#endif //!TD_THREAD_UNSUPPORTED
|
#endif
|
||||||
|
@ -57,4 +57,4 @@ TEST(HazardPointers, stress) {
|
|||||||
}
|
}
|
||||||
CHECK(hazard_pointers.to_delete_size_unsafe() == 0);
|
CHECK(hazard_pointers.to_delete_size_unsafe() == 0);
|
||||||
}
|
}
|
||||||
#endif //!TD_THREAD_UNSUPPORTED
|
#endif
|
||||||
|
@ -83,7 +83,7 @@ TEST(OneValue, stress) {
|
|||||||
thread.join();
|
thread.join();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif //!TD_THREAD_UNSUPPORTED
|
#endif
|
||||||
|
|
||||||
TEST(MpmcQueueBlock, simple) {
|
TEST(MpmcQueueBlock, simple) {
|
||||||
// Test doesn't work now and it is ok, try_pop, logic changed
|
// Test doesn't work now and it is ok, try_pop, logic changed
|
||||||
@ -204,4 +204,4 @@ TEST(MpmcQueue, multi_thread) {
|
|||||||
}
|
}
|
||||||
LOG_CHECK(q.hazard_pointers_to_delele_size_unsafe() == 0) << q.hazard_pointers_to_delele_size_unsafe();
|
LOG_CHECK(q.hazard_pointers_to_delele_size_unsafe() == 0) << q.hazard_pointers_to_delele_size_unsafe();
|
||||||
}
|
}
|
||||||
#endif //!TD_THREAD_UNSUPPORTED
|
#endif
|
||||||
|
@ -140,4 +140,4 @@ TEST(MpmcEagerWaiter, stress_multi) {
|
|||||||
TEST(MpmcSleepyWaiter, stress_multi) {
|
TEST(MpmcSleepyWaiter, stress_multi) {
|
||||||
test_waiter_stress<td::MpmcSleepyWaiter>();
|
test_waiter_stress<td::MpmcSleepyWaiter>();
|
||||||
}
|
}
|
||||||
#endif // !TD_THREAD_UNSUPPORTED
|
#endif
|
||||||
|
@ -113,4 +113,4 @@ TEST(MpscLinkQueue, multi_thread) {
|
|||||||
thread.join();
|
thread.join();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif //!TD_THREAD_UNSUPPORTED
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user