import java.io.*; import java.util.*; import java.lang.*; /** This class represents a message pool that store all the messages sent among PEs. * @author Yin Xiong * @version 1.1 (02/2006) */ public class MessagePool{ Vector messages=new Vector(); public synchronized Message getMsgFromPool(int peid, int lpid) { Message msg=null; for(int i=0;i msgs=new Vector(); for(int i=0;i