#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pvm3.h>
#include "main.h"
#include "error.h"
#include "assert.h"
#include "chromo.h"
#include "transfer.h"
Functions | |
int | file_recv (char *filename, int sender, int msgtag) |
Wait for file sent from sender. | |
int | file_mcast (char *filename, int *recipients, int num, int msgtag) |
Multicast file to all recipients. | |
int | file_send (char *filename, int recipient, int msgtag) |
Send file to one recipient. | |
int | table_recv (population *pop, int num, int sender, int msgtag) |
Wait for timetables from sender. | |
int | table_send (population *pop, int num, int recipient, int msgtag) |
Send timetables to a recipient. | |
population * | population_recv (int sender, int msgtag) |
Receive the entire population. | |
int | population_send (population *pop, int recipient, int msgtag) |
Send the entire population. |
|
Multicast file to all recipients.
|
|
Wait for file sent from sender.
|
|
Send file to one recipient.
|
|
Receive the entire population.
|
|
Send the entire population.
|
|
Wait for timetables from sender. Received timetables are stored at the end of the population.
|
|
Send timetables to a recipient. Timetables are read from the start of the population.
|