[xray] Basic actor support (#1835)

This commit is contained in:
Stephanie Wang
2018-04-06 00:17:14 -07:00
committed by Robert Nishihara
parent 313b864e66
commit bf194db4bc
27 changed files with 652 additions and 181 deletions
+2
View File
@@ -802,6 +802,8 @@ def actor_handle_from_class(Class, class_id, actor_creation_resources,
actor_creation_resources,
actor_method_cpus,
ray.worker.global_worker)
# Increment the actor counter to account for the creation task.
actor_counter += 1
# Instantiate the actor handle.
actor_object = cls.__new__(cls)