CARS
Data Fields

worker Struct Reference

Data Fields

pthread_t tid
int in_sck
int out_sck
int active
pthread_cond_t cond
int sentreqs

Detailed Description

Struttura utilizzata per gestire il pool di thread


Field Documentation

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

Socket in entrata presso il worker

Referenced by findActivateThread(), goingBackToSleep(), initializePool(), and waitForActivation().

Socket in uscita presso il worker

Referenced by goingBackToSleep(), initializePool(), and setMyOutSck().

Numero delle richieste inviate

Referenced by findActivateThread(), goingBackToSleep(), increaseRequests(), initializePool(), and match().

pthread_t worker::tid

TID del relativo thread


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