Back to index

nordugrid-arc-nox  1.1.0~rc6
Classes | Namespaces | Defines | Functions
grid_manager.cpp File Reference
#include <iostream>
#include <sys/types.h>
#include <pwd.h>
#include <string>
#include <cstdio>
#include <fstream>
#include <list>
#include <signal.h>
#include <arc/Logger.h>
#include <arc/Run.h>
#include <arc/Thread.h>
#include <arc/StringConv.h>
#include "jobs/users.h"
#include "jobs/states.h"
#include "jobs/commfifo.h"
#include "conf/environment.h"
#include "conf/conf_file.h"
#include "conf/daemon.h"
#include "files/info_types.h"
#include "files/delete.h"
#include "run/run_parallel.h"
#include "grid_manager.h"

Go to the source code of this file.

Classes

struct  ARex::sleep_st
struct  ARex::args_st

Namespaces

namespace  ARex

Defines

#define HARD_JOB_PERIOD   7200
#define CACHE_CLEAN_PERIOD   300
#define DEFAULT_LOG_FILE   "/var/log/grid-manager.log"
#define DEFAULT_PID_FILE   "/var/run/grid-manager.pid"

Functions

static Arc::Logger ARex::logger (Arc::Logger::getRootLogger(),"AREX:GM")
static void * ARex::cache_func (void *arg)
static void * ARex::wakeup_func (void *arg)
static void ARex::kick_func (void *arg)
static void ARex::grid_manager (void *arg)

Class Documentation

struct ARex::sleep_st

Definition at line 106 of file grid_manager.cpp.

Collaboration diagram for ARex::sleep_st:
Class Members
pthread_cond_t * sleep_cond
pthread_mutex_t * sleep_mutex
CommFIFO * timeout
struct ARex::args_st

Definition at line 130 of file grid_manager.cpp.

Class Members
int argc
char ** argv

Define Documentation

#define CACHE_CLEAN_PERIOD   300

Definition at line 34 of file grid_manager.cpp.

#define DEFAULT_LOG_FILE   "/var/log/grid-manager.log"

Definition at line 36 of file grid_manager.cpp.

#define DEFAULT_PID_FILE   "/var/run/grid-manager.pid"

Definition at line 37 of file grid_manager.cpp.

#define HARD_JOB_PERIOD   7200

Definition at line 31 of file grid_manager.cpp.