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:
Stephanie Wang
2016-12-12 23:17:22 -08:00
committed by Robert Nishihara
parent 817f1e730c
commit 4bdb9f7224
17 changed files with 590 additions and 99 deletions
+11
View File
@@ -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 */