Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Unified Diff: mojo/edk/system/test/sleep.h

Issue 1639093002: Add //mojo/edk/platform/thread_utils.* containing "yield" and "sleep". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/test/BUILD.gn ('k') | mojo/edk/system/test/sleep.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/test/sleep.h
diff --git a/mojo/edk/system/test/sleep.h b/mojo/edk/system/test/sleep.h
deleted file mode 100644
index ff8e4f08da6ac4900e357e161dcd2e8367360bff..0000000000000000000000000000000000000000
--- a/mojo/edk/system/test/sleep.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Function for sleeping in tests. (Please use sparingly.)
-
-#ifndef MOJO_EDK_SYSTEM_TEST_SLEEP_H_
-#define MOJO_EDK_SYSTEM_TEST_SLEEP_H_
-
-#include "mojo/public/c/system/types.h"
-
-namespace mojo {
-namespace system {
-namespace test {
-
-// Sleeps for at least the specified duration.
-void Sleep(MojoDeadline duration);
-void SleepMilliseconds(unsigned duration_milliseconds);
-
-} // namespace test
-} // namespace system
-} // namespace mojo
-
-#endif // MOJO_EDK_SYSTEM_TEST_SLEEP_H_
« no previous file with comments | « mojo/edk/system/test/BUILD.gn ('k') | mojo/edk/system/test/sleep.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698