mirror of
https://github.com/wassname/ray.git
synced 2026-08-04 13:14:14 +08:00
Object reconstruction in Photon (#65)
* Object reconstruction in Photon and C test cases for Photon * Fix hanging test case on mac * Remove unnecessary event from photon tests * make photon_disconnect not leak file descriptors * fix some of the memory errors * Fix valgrind * lint * Address Robert's comments and add test case for object reconstruction suppression * Remove OWNER
This commit is contained in:
committed by
Robert Nishihara
parent
817f1e730c
commit
4bdb9f7224
@@ -82,4 +82,15 @@ void handle_worker_available(local_scheduler_state *state,
|
||||
scheduling_algorithm_state *algorithm_state,
|
||||
int worker_index);
|
||||
|
||||
/** The following methods are for testing purposes only. */
|
||||
#ifdef PHOTON_TEST
|
||||
/**
|
||||
* Get the number of tasks currently queued locally.
|
||||
*
|
||||
* @param algorithm_state State maintained by the scheduling algorithm.
|
||||
* @return The number of tasks queued locally.
|
||||
*/
|
||||
int num_tasks_in_queue(scheduling_algorithm_state *algorithm_state);
|
||||
#endif
|
||||
|
||||
#endif /* PHOTON_ALGORITHM_H */
|
||||
|
||||
Reference in New Issue
Block a user