|
SimGrid
3.13
Versatile Simulation of Distributed Systems
|
#include "simgrid/msg.h"Functions | |
| XBT_LOG_NEW_DEFAULT_CATEGORY (msg_app_masterworker,"Messages specific for this msg example") | |
| static int | master (int argc, char *argv[]) |
| Master expects 4 arguments given in the XML deployment file: More... | |
| static int | worker (int argc, char *argv[]) |
| Worker expects a single argument given in the XML deployment file: More... | |
| int | main (int argc, char *argv[]) |
| XBT_LOG_NEW_DEFAULT_CATEGORY | ( | msg_app_masterworker | , |
| "Messages specific for this msg example" | |||
| ) |
|
static |
Master expects 4 arguments given in the XML deployment file:
For each task to be executed:
|
static |
Worker expects a single argument given in the XML deployment file:
The worker wait in an infinite loop for tasks sent by the master
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |