iwyu: //aos/mutex/...
The full include-list for aos/mutex/mutex.h:
<ostream> // for char_traits, operator<<, basic_ostream
"aos/ipc_lib/aos_sync.h" // for aos_mutex
"aos/macros.h" // for DISALLOW_COPY_AND_ASSIGN
"aos/type_traits/type_traits.h" // for shm_ok
"glog/logging.h" // for COMPACT_GOOGLE_LOG_FATAL, LOG, LogMessageFatal
The full include-list for aos/mutex/mutex.cc:
"aos/mutex/mutex.h"
"glog/logging.h" // for COMPACT_GOOGLE_LOG_FATAL, LOG, LogMessageFatal
The full include-list for aos/mutex/mutex.h:
<ostream> // for char_traits, operator<<, basic_ostream
"aos/ipc_lib/aos_sync.h" // for aos_mutex
"aos/macros.h" // for DISALLOW_COPY_AND_ASSIGN
"aos/type_traits/type_traits.h" // for shm_ok
"glog/logging.h" // for COMPACT_GOOGLE_LOG_FATAL, LOG, LogMessageFatal
The full include-list for aos/mutex/mutex_test.cc:
"aos/mutex/mutex.h"
<chrono> // for milliseconds, chrono
<memory> // for allocator, make_shared, _NonArray
<new> // for operator new
<thread> // for thread, sleep_for, this_thread
"aos/die.h" // for SetDieTestMode
"aos/ipc_lib/core_lib.h" // for shm_malloc_aligned
"aos/logging/implementations.h" // for SetImplementation
"aos/testing/test_logging.h" // for EnableTestLogging
"aos/testing/test_shm.h" // for TestSharedMemory
"aos/util/death_test_log_implementation.h" // for DeathTestLogImplementation
"gtest/gtest.h" // for AssertionResult, Message, TestPartResult, TestInfo, EXPECT_EQ, TEST_F, ASSERT_FALSE, DeathTest, EXPECT_DEATH, EXPECT_FALSE, EXPECT_TRUE, Test
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I23594a4c1b78c4bd983ae9229fbfe9e12519abca
diff --git a/aos/mutex/mutex_test.cc b/aos/mutex/mutex_test.cc
index 8d10b26..9f8efbf 100644
--- a/aos/mutex/mutex_test.cc
+++ b/aos/mutex/mutex_test.cc
@@ -1,20 +1,17 @@
#include "aos/mutex/mutex.h"
-#include <pthread.h>
-#include <sched.h>
-
#include <chrono>
-#include <cmath>
+#include <memory>
+#include <new>
#include <thread>
#include "gtest/gtest.h"
#include "aos/die.h"
-#include "aos/ipc_lib/aos_sync.h"
#include "aos/ipc_lib/core_lib.h"
+#include "aos/logging/implementations.h"
#include "aos/testing/test_logging.h"
#include "aos/testing/test_shm.h"
-#include "aos/time/time.h"
#include "aos/util/death_test_log_implementation.h"
namespace aos::testing {