Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
mg_context Struct Reference

Definition at line 2405 of file civetweb.c.

Public Attributes

struct mg_callbacks callbacks
 
unsigned int cfg_max_worker_threads
 
int context_type
 
struct mg_domain_context dd
 
unsigned int idle_worker_thread_count
 
struct pollfdlistening_socket_fds
 
struct socketlistening_sockets
 
pthread_t masterthreadid
 
unsigned int max_request_size
 
pthread_mutex_t nonce_mutex
 
unsigned int num_listening_sockets
 
unsigned int spawned_worker_threads
 
volatile int sq_blocked
 
pthread_cond_t sq_empty
 
pthread_cond_t sq_full
 
volatile int sq_head
 
int sq_size
 
volatile int sq_tail
 
struct socketsqueue
 
time_t start_time
 
unsigned long starter_thread_idx
 
stop_flag_t stop_flag
 
char * systemName
 
pthread_mutex_t thread_mutex
 
int thread_shutdown_notification_socket
 
void * user_data
 
int user_shutdown_notification_socket
 
struct twebdav_lock webdav_lock [10]
 
struct mg_connectionworker_connections
 
pthread_t * worker_threadids
 

Member Data Documentation

◆ callbacks

struct mg_callbacks mg_context::callbacks

Definition at line 2505 of file civetweb.c.

◆ cfg_max_worker_threads

unsigned int mg_context::cfg_max_worker_threads

Definition at line 2437 of file civetweb.c.

◆ context_type

int mg_context::context_type

Definition at line 2414 of file civetweb.c.

◆ dd

struct mg_domain_context mg_context::dd

Definition at line 2515 of file civetweb.c.

◆ idle_worker_thread_count

unsigned int mg_context::idle_worker_thread_count

Definition at line 2443 of file civetweb.c.

◆ listening_socket_fds

struct pollfd* mg_context::listening_socket_fds

Definition at line 2417 of file civetweb.c.

◆ listening_sockets

struct socket* mg_context::listening_sockets

Definition at line 2416 of file civetweb.c.

◆ masterthreadid

pthread_t mg_context::masterthreadid

Definition at line 2436 of file civetweb.c.

◆ max_request_size

unsigned int mg_context::max_request_size

Definition at line 2469 of file civetweb.c.

◆ nonce_mutex

pthread_mutex_t mg_context::nonce_mutex

Definition at line 2500 of file civetweb.c.

◆ num_listening_sockets

unsigned int mg_context::num_listening_sockets

Definition at line 2418 of file civetweb.c.

◆ spawned_worker_threads

unsigned int mg_context::spawned_worker_threads

Definition at line 2440 of file civetweb.c.

◆ sq_blocked

volatile int mg_context::sq_blocked

Definition at line 2461 of file civetweb.c.

◆ sq_empty

pthread_cond_t mg_context::sq_empty

Definition at line 2460 of file civetweb.c.

◆ sq_full

pthread_cond_t mg_context::sq_full

Definition at line 2459 of file civetweb.c.

◆ sq_head

volatile int mg_context::sq_head

Definition at line 2457 of file civetweb.c.

◆ sq_size

int mg_context::sq_size

Definition at line 2462 of file civetweb.c.

◆ sq_tail

volatile int mg_context::sq_tail

Definition at line 2458 of file civetweb.c.

◆ squeue

struct socket* mg_context::squeue

Definition at line 2455 of file civetweb.c.

◆ start_time

time_t mg_context::start_time

Definition at line 2480 of file civetweb.c.

◆ starter_thread_idx

unsigned long mg_context::starter_thread_idx

Definition at line 2448 of file civetweb.c.

◆ stop_flag

stop_flag_t mg_context::stop_flag

Definition at line 2433 of file civetweb.c.

◆ systemName

char* mg_context::systemName

Definition at line 2479 of file civetweb.c.

◆ thread_mutex

pthread_mutex_t mg_context::thread_mutex

Definition at line 2434 of file civetweb.c.

◆ thread_shutdown_notification_socket

int mg_context::thread_shutdown_notification_socket

Definition at line 2496 of file civetweb.c.

◆ user_data

void* mg_context::user_data

Definition at line 2506 of file civetweb.c.

◆ user_shutdown_notification_socket

int mg_context::user_shutdown_notification_socket

Definition at line 2494 of file civetweb.c.

◆ webdav_lock

struct twebdav_lock mg_context::webdav_lock[10]

Definition at line 2476 of file civetweb.c.

◆ worker_connections

struct mg_connection* mg_context::worker_connections

Definition at line 2420 of file civetweb.c.

◆ worker_threadids

pthread_t* mg_context::worker_threadids

Definition at line 2447 of file civetweb.c.

Collaboration diagram for mg_context:
[legend]

The documentation for this struct was generated from the following file: