[Core] Use global variable to eliminate force thread termination in plasma (#8912)

* use global variable to eliminate force thread termination
This commit is contained in:
Siyuan (Ryans) Zhuang
2020-06-12 14:20:53 -07:00
committed by GitHub
parent 58efec0f2b
commit ed77c8b16c
8 changed files with 217 additions and 190 deletions
+1 -2
View File
@@ -37,7 +37,7 @@
#include "ray/object_manager/object_directory.h"
#include "ray/object_manager/object_store_notification_manager.h"
#include "ray/object_manager/plasma/client.h"
#include "ray/object_manager/plasma/store.h"
#include "ray/object_manager/plasma/store_runner.h"
#include "ray/rpc/object_manager/object_manager_client.h"
#include "ray/rpc/object_manager/object_manager_server.h"
@@ -85,7 +85,6 @@ class ObjectStoreRunner {
~ObjectStoreRunner();
private:
std::unique_ptr<plasma::PlasmaStoreRunner> plasma_store_;
std::thread store_thread_;
};