client/client_state.cpp File Reference

(r16139/r16128)

#include "cpp.h"
#include "config.h"
#include <unistd.h>
#include <csignal>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <cstdarg>
#include <cstring>
#include <sys/socket.h>
#include "parse.h"
#include "str_util.h"
#include "util.h"
#include "error_numbers.h"
#include "filesys.h"
#include "file_names.h"
#include "hostinfo.h"
#include "hostinfo_network.h"
#include "network.h"
#include "http_curl.h"
#include "client_msgs.h"
#include "shmem.h"
#include "sandbox.h"
#include "client_state.h"

Include dependency graph for client_state.cpp:


Defines

#define POLL_ACTION(name, func)

Functions

double calculate_exponential_backoff (int n, double MIN, double MAX)
 return a random double in the range [MIN,min(e^n,MAX))

Variables

CLIENT_STATE gstate
FDSET_GROUP curl_fds
FDSET_GROUP gui_rpc_fds
FDSET_GROUP all_fds
const char * BOINC_RCSID_e836980ee1 = "$Id: client_state.cpp 16128 2008-10-04 16:00:28Z davea $"

Define Documentation

#define POLL_ACTION ( name,
func   ) 

Value:

do { if (func()) { \
            ++actions; \
            if (log_flags.poll_debug) { \
                msg_printf(0, MSG_INFO, "[poll_debug] CLIENT_STATE::poll_slow_events(): " #name "\n"); \
            } \
        } } while(0)


Function Documentation

double calculate_exponential_backoff ( int  n,
double  MIN,
double  MAX 
)

return a random double in the range [MIN,min(e^n,MAX))

Here is the caller graph for this function:


Variable Documentation

const char* BOINC_RCSID_e836980ee1 = "$Id: client_state.cpp 16128 2008-10-04 16:00:28Z davea $"


Generated on Mon Oct 6 10:37:41 2008 for BOINC by  doxygen 1.5.6