#include <stdio.h>#include <stdlib.h>#include <strings.h>#include <signal.h>#include <assert.h>#include "Messages.h"#include "Manager.h"#include "Layout.h"#include "parser.h"#include "FilterSpec.h"#include "FilterData/Policies.h"#include "FilterData/Ports.h"#include "FilterData/FilterData.h"#include "FilterData/Termination.h"#include "constants.h"#include <TaskIdList/TaskIdList.h>Include dependency graph for Manager.c:

Go to the source code of this file.
Functions | |
| void | handleSigterm (int signal) |
| Set recievedSigterm to 1, indicating that we recieved a TERM signal and must shutdown the application. | |
| Layout * | initDs (char *confFile, int argc, char **argv) |
| Initialize the manager internal structs and the filters. | |
| int | compareTaskId (const void *a, const void *b) |
| int | replaceCrashedHost (Layout *layout, FilterSpec *pCrashedFilter, int crashedInstance) |
| int | appendWork (Layout *layout, void *work, unsigned int workSize) |
| user function:add a new query to a pipeline of filters. | |
| int | finalizeDs (Layout *layout) |
| Finalize a Void pipeline. Only manager runs this. | |
Variables | |
| int | recievedSignal = 0 |
|
||||||||||||||||
|
user function:add a new query to a pipeline of filters. Called by manager.
used to notify manager some system error happened, and filter is aborting, similar to AEXIT if the message type is a work used to notify manager this filter ended its work used to notify manager the application called exit(dsExit) used to notify manager some system error happened, and filter is aborting, similar to AEXIT used to notify manager the application called exit(dsExit) used to notify a task exit, from pvm, dont change this used to notify host delete, crash, dont change this used to notify a task exit, from pvm, dont change this used to notify host delete, crash, dont change this used to notify a task exit, from pvm, dont change this used to notify host delete, crash, dont change this used to notify host delete, crash, dont change this used to notify a task exit, from pvm, dont change this used to notify host delete, crash, dont change this |
|
||||||||||||
|
|
|
|
Finalize a Void pipeline. Only manager runs this. if the message type is end of filter, which means, all done |
|
|
Set recievedSigterm to 1, indicating that we recieved a TERM signal and must shutdown the application.
Definition at line 46 of file Manager.c. References recievedSignal. |
|
||||||||||||||||
|
Initialize the manager internal structs and the filters.
Definition at line 400 of file Manager.c. References I_AM_THE_MANAGER, and runFilter(). Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Definition at line 442 of file Manager.c. References _filter_spec_::filterPlacement, FilterPlacement::hosts, hostsGetIndex(), hostsGetIndexByName(), hostsGetName(), hostsSetStatus(), layout, and NOTAVAIL. Here is the call graph for this function: ![]() |
|
|
Definition at line 41 of file Manager.c. Referenced by handleSigterm(). |
1.4.6