27 #ifndef GRAPHLAB_CHANDY_MISRA_INTERFACE_HPP
28 #define GRAPHLAB_CHANDY_MISRA_INTERFACE_HPP
31 template <
typename GraphType>
32 class chandy_misra_interface {
34 typedef typename GraphType::lvid_type
lvid_type;
35 virtual ~chandy_misra_interface() { }
36 virtual size_t num_clean_forks()
const = 0;
37 virtual void make_philosopher_hungry_per_replica(
lvid_type p_id) = 0;
38 virtual void philosopher_stops_eating_per_replica(
lvid_type p_id) = 0;