mirror of
https://github.com/wassname/ray.git
synced 2026-07-09 02:41:45 +08:00
[Core] Actor handle refactoring (#8895)
* Marking needed changes. * Resolve basic dependencies. * In progress. * linting. * In progress 2. * Linting. * Refactor done. Cleanup needed. * Linting. * Recover kill actor in core worker because it is used inside raylet * Cleanup. * Use unique pointer instead. Unit tests are broken now. * Fix the upstream change. * Addressed code review 1. * Lint. * Addressed code review 2. * Fix weird github history. * Lint. * Linting using clang 7.0. * Use a better check message. * Revert cpp stuff. * Fix weird linting errors. * Manuall fix all lint issues. * Update a newline. * Refactor some interface. * Addressed all code review. * Addressed code review
This commit is contained in:
@@ -123,10 +123,8 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
|
||||
CRayStatus SerializeActorHandle(const CActorID &actor_id, c_string
|
||||
*bytes,
|
||||
CObjectID *c_actor_handle_id)
|
||||
CRayStatus GetActorHandle(const CActorID &actor_id,
|
||||
CActorHandle **actor_handle) const
|
||||
CRayStatus GetNamedActorHandle(const c_string &name,
|
||||
CActorHandle **actor_handle)
|
||||
const CActorHandle* GetActorHandle(const CActorID &actor_id) const
|
||||
const CActorHandle* GetNamedActorHandle(const c_string &name)
|
||||
void AddLocalReference(const CObjectID &object_id)
|
||||
void RemoveLocalReference(const CObjectID &object_id)
|
||||
const CAddress &GetRpcAddress() const
|
||||
|
||||
Reference in New Issue
Block a user