Merge branch 'google3'

Change-Id: Ic0929c69225dba30ae0aa9bec2d5ce155fd927c0
This commit is contained in:
Alexey Polyudov
2020-06-30 00:28:19 -07:00
39 changed files with 1229 additions and 189 deletions
-1
View File
@@ -72,6 +72,5 @@ cc_library(
":types",
"//platform_v2/base",
"//absl/strings",
"//absl/types:any",
],
)
-1
View File
@@ -27,7 +27,6 @@ class ConditionVariable {
// Waits while timeout has not expired for Notify to be called.
// May return prematurely in case of interrupt, if supported by platform.
// Returns kSuccess, or kInterrupted on interrupt.
// If Timeout expired, and Notify was not called, returns kTimeout.
virtual Exception Wait(absl::Duration timeout) = 0;
};
+4
View File
@@ -7,6 +7,8 @@ namespace location {
namespace nearby {
namespace api {
int GetCurrentTid();
// This abstract class is the superclass of all classes representing an
// Executor.
class Executor {
@@ -19,6 +21,8 @@ class Executor {
// https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html#shutdown--
virtual void Shutdown() = 0;
virtual int GetTid(int index) const = 0;
};
} // namespace api