#include <cstdio>
#include <cstring>
#include <fstream>
#include <cctype>
#include <algorithm>
#include <pvm3.h>
Include dependency graph for BCP_netconfig_pvm.cpp:
Go to the source code of this file.
Enumerations | |
enum | messages { BCP_CONFIG_CHANGE = 1, BCP_CONFIG_ERROR = 2, BCP_CONFIG_OK = 3, BCP_ARE_YOU_TREEMANAGER = 4, BCP_I_AM_TREEMANAGER = 5 } |
Functions | |
static bool | str_eq (const char *str0, const char *str1) |
static int | str_lt (const char *str0, const char *str1) |
static void | find_tree_manager (const int my_tid, int &tm_tid) |
static void | stop (const char *msg) |
int | main (int argc, char **argv) |
enum messages |
BCP_CONFIG_CHANGE | |
BCP_CONFIG_ERROR | |
BCP_CONFIG_OK | |
BCP_ARE_YOU_TREEMANAGER | |
BCP_I_AM_TREEMANAGER |
Definition at line 11 of file BCP_netconfig_pvm.cpp.
static bool str_eq | ( | const char * | str0, | |
const char * | str1 | |||
) | [inline, static] |
static int str_lt | ( | const char * | str0, | |
const char * | str1 | |||
) | [inline, static] |
static void find_tree_manager | ( | const int | my_tid, | |
int & | tm_tid | |||
) | [static] |
Definition at line 441 of file BCP_netconfig_pvm.cpp.
References BCP_ARE_YOU_TREEMANAGER, BCP_I_AM_TREEMANAGER, k, and stop().
Referenced by main().
static void stop | ( | const char * | msg | ) | [static] |
Definition at line 484 of file BCP_netconfig_pvm.cpp.
Referenced by find_tree_manager(), and main().
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 37 of file BCP_netconfig_pvm.cpp.
References BCP_CONFIG_CHANGE, BCP_CONFIG_ERROR, find_tree_manager(), info, stop(), str_eq(), and str_lt().