Handle exchange of direct call objects between tasks and actors (#6147)

This commit is contained in:
Eric Liang
2019-11-14 17:32:04 -08:00
committed by GitHub
parent 385783fcec
commit 8ff393a7bd
23 changed files with 426 additions and 202 deletions
+6
View File
@@ -1015,6 +1015,12 @@ cdef class CoreWorker:
# Note: faster to not release GIL for short-running op.
self.core_worker.get().RemoveObjectIDReference(c_object_id)
def promote_object_to_plasma(self, ObjectID object_id):
cdef:
CObjectID c_object_id = object_id.native()
self.core_worker.get().PromoteObjectToPlasma(c_object_id)
return object_id.with_plasma_transport_type()
# TODO: handle noreturn better
cdef store_task_outputs(
self, worker, outputs, const c_vector[CObjectID] return_ids,