00001 00005 #include "libmgk.h" 00006 00007 unsigned int 00008 mgk_run(unsigned int num_nodes_to_run) 00009 { 00010 unsigned int count = 0; 00011 while (num_nodes_to_run > 0) { 00012 mgk_node *next = __mgk_next_node(); 00013 if (!next) { 00014 break; 00015 } 00016 __mgk_execute_node(next); 00017 count++; 00018 num_nodes_to_run--; 00019 } 00020 return (count); 00021 } 00022 00023 void 00024 mgk_set_comm_priority(unsigned int commpri) 00025 { 00026 return; 00027 } 00028 00029 void 00030 mgk_wait_for_comm_event(void) 00031 { 00032 return; 00033 }