mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
properly shutdown worker service thread (#367)
This commit is contained in:
committed by
Philipp Moritz
parent
c01ef95d04
commit
fbc49410ec
@@ -114,6 +114,7 @@ class Worker {
|
||||
const size_t CHUNK_SIZE = 8 * 1024;
|
||||
std::unique_ptr<Scheduler::Stub> scheduler_stub_;
|
||||
std::unique_ptr<std::thread> worker_server_thread_;
|
||||
Server* server_ptr_;
|
||||
MessageQueue<WorkerMessage*> receive_queue_;
|
||||
bip::managed_shared_memory segment_;
|
||||
WorkerId workerid_;
|
||||
|
||||
Reference in New Issue
Block a user