CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
loader::loader_talk Namespace Reference

Functions

bool Init (const string &socket_path)
 
static void * MainTalk (void *data __attribute__((unused)))
 
void Spawn ()
 
void Fini ()
 
int MainReload (const std::string &socket_path, const bool stop_and_go)
 
bool Init (const std::string &socket_path)
 

Variables

bool spawned_ = false
 
string * socket_path_ = NULL
 
int socket_fd_ = -1
 
pthread_t thread_talk_
 

Function Documentation

void loader::loader_talk::Fini ( )

Definition at line 98 of file loader_talk.cc.

bool loader::loader_talk::Init ( const std::string &  socket_path)
bool loader::loader_talk::Init ( const string &  socket_path)

Definition at line 32 of file loader_talk.cc.

Here is the call graph for this function:

int loader::loader_talk::MainReload ( const std::string &  socket_path,
const bool  stop_and_go 
)

Connects to a loader socket and triggers the reload

Definition at line 114 of file loader_talk.cc.

Referenced by FuseMain().

Here is the call graph for this function:

Here is the caller graph for this function:

static void* loader::loader_talk::MainTalk ( void *data   __attribute__(unused))
static

Definition at line 51 of file loader_talk.cc.

Referenced by Spawn().

Here is the call graph for this function:

Here is the caller graph for this function:

void loader::loader_talk::Spawn ( )

Definition at line 90 of file loader_talk.cc.

Here is the call graph for this function:

Variable Documentation

int loader::loader_talk::socket_fd_ = -1

Definition at line 29 of file loader_talk.cc.

Referenced by Fini(), Init(), and MainTalk().

string* loader::loader_talk::socket_path_ = NULL

Definition at line 28 of file loader_talk.cc.

pthread_t loader::loader_talk::thread_talk_

Definition at line 30 of file loader_talk.cc.

Referenced by Fini(), and Spawn().