You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Recebendo Mensagens<br />
int bufid = pvm_trecv (int tid, int msgtag, struct<br />
timeval *tmout)<br />
Esta rotina espera a chegada de uma mensagem por<br />
um perí odo de tempo defin ido pela estrutura tm out.<br />
Os campos tv _sec e tv_usec da estrutura tmout<br />
servem para defin ir quanto te mpo a tarefa deve<br />
espera r pela mensagem.<br />
int bufid = pvm_probe (int tid, int msgtag)<br />
Testa se existe alguma mensagem disponível<br />
compatível com os arg umentos especifi cados (tid e<br />
msgtag).