Internal change

PiperOrigin-RevId: 361877303
This commit is contained in:
hai007
2021-03-09 12:55:53 -08:00
committed by Copybara-Service
parent 8fafd3ef09
commit b3d4ac6ffc
13 changed files with 403 additions and 15 deletions
+2 -1
View File
@@ -16,6 +16,7 @@
#define PLATFORM_PUBLIC_SINGLE_THREAD_EXECUTOR_H_
#include "platform/public/submittable_executor.h"
#include "absl/base/thread_annotations.h"
namespace location {
namespace nearby {
@@ -24,7 +25,7 @@ namespace nearby {
// queue.
//
// https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Executors.html#newSingleThreadExecutor--
class SingleThreadExecutor final : public SubmittableExecutor {
class ABSL_LOCKABLE SingleThreadExecutor final : public SubmittableExecutor {
public:
using Platform = api::ImplementationPlatform;
SingleThreadExecutor()