OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "mojo/public/cpp/utility/thread.h" | 5 #include "mojo/public/cpp/utility/thread.h" |
6 | 6 |
7 #include "mojo/public/cpp/system/macros.h" | 7 #include "mojo/public/cpp/system/macros.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 namespace mojo { | 10 namespace mojo { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 SetIntThread thread(options, &value, 4); | 101 SetIntThread thread(options, &value, 4); |
102 thread.Start(); | 102 thread.Start(); |
103 thread.Join(); | 103 thread.Join(); |
104 }, ""); | 104 }, ""); |
105 } | 105 } |
106 #endif // !defined(NDEBUG) | 106 #endif // !defined(NDEBUG) |
107 | 107 |
108 } // namespace | 108 } // namespace |
109 } // namespace mojo | 109 } // namespace mojo |
110 | 110 |
OLD | NEW |