Remove superflous endif comments.

This commit is contained in:
levlam 2021-10-25 10:05:15 +03:00
parent f518f94b20
commit c5a2f1570d
6 changed files with 7 additions and 7 deletions

View File

@ -35,7 +35,7 @@
#if TD_LINUX
#include <linux/errqueue.h>
#endif
#endif // TD_PORT_POSIX
#endif
#include <array>
#include <atomic>

View File

@ -65,4 +65,4 @@ TEST(EpochBaseMemoryReclamation, stress) {
}
CHECK(ebmr.to_delete_size_unsafe() == 0);
}
#endif //!TD_THREAD_UNSUPPORTED
#endif

View File

@ -57,4 +57,4 @@ TEST(HazardPointers, stress) {
}
CHECK(hazard_pointers.to_delete_size_unsafe() == 0);
}
#endif //!TD_THREAD_UNSUPPORTED
#endif

View File

@ -83,7 +83,7 @@ TEST(OneValue, stress) {
thread.join();
}
}
#endif //!TD_THREAD_UNSUPPORTED
#endif
TEST(MpmcQueueBlock, simple) {
// 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();
}
#endif //!TD_THREAD_UNSUPPORTED
#endif

View File

@ -140,4 +140,4 @@ TEST(MpmcEagerWaiter, stress_multi) {
TEST(MpmcSleepyWaiter, stress_multi) {
test_waiter_stress<td::MpmcSleepyWaiter>();
}
#endif // !TD_THREAD_UNSUPPORTED
#endif

View File

@ -113,4 +113,4 @@ TEST(MpscLinkQueue, multi_thread) {
thread.join();
}
}
#endif //!TD_THREAD_UNSUPPORTED
#endif