CARS
|
Data Fields | |
pthread_t | tid |
int | in_sck |
int | out_sck |
int | active |
pthread_cond_t | cond |
int | sentreqs |
Struttura utilizzata per gestire il pool di thread
int worker::active |
Bit che indica se il worker e' attivo
Referenced by findActivateThread(), goingBackToSleep(), initializePool(), and signal_handler().
pthread_cond_t worker::cond |
Variabile per l'attesa e il risveglio del worker
int worker::in_sck |
Socket in entrata presso il worker
Referenced by findActivateThread(), goingBackToSleep(), initializePool(), and waitForActivation().
int worker::out_sck |
Socket in uscita presso il worker
Referenced by goingBackToSleep(), initializePool(), and setMyOutSck().
int worker::sentreqs |
Numero delle richieste inviate
Referenced by findActivateThread(), goingBackToSleep(), increaseRequests(), initializePool(), and match().
pthread_t worker::tid |
TID del relativo thread