#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"

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 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)
| double calculate_exponential_backoff | ( | int | n, | |
| double | MIN, | |||
| double | MAX | |||
| ) |
return a random double in the range [MIN,min(e^n,MAX))

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