mirror of
https://github.com/wassname/ray.git
synced 2026-07-13 00:26:03 +08:00
Stop vendoring pyarrow (#7233)
This commit is contained in:
@@ -45,6 +45,9 @@ ctypedef void (*ray_callback_function) \
|
||||
(shared_ptr[CRayObject] result_object,
|
||||
CObjectID object_id, void* user_data)
|
||||
|
||||
ctypedef void (*plasma_callback_function) \
|
||||
(CObjectID object_id, int64_t data_size, int64_t metadata_size)
|
||||
|
||||
cdef extern from "ray/core_worker/profiling.h" nogil:
|
||||
cdef cppclass CProfiler "ray::worker::Profiler":
|
||||
void Start()
|
||||
@@ -194,3 +197,5 @@ cdef extern from "ray/core_worker/core_worker.h" nogil:
|
||||
CRayStatus SetResource(const c_string &resource_name,
|
||||
const double capacity,
|
||||
const CClientID &client_Id)
|
||||
|
||||
void SubscribeToAsyncPlasma(plasma_callback_function callback)
|
||||
|
||||
Reference in New Issue
Block a user