#include <CommIO.h>
Static Public Member Functions | |
static void | NotifyIOCompleted () |
static void | ResetNotifications () |
static void | Initialize () |
static void | NotifyIOClose () |
Static Private Member Functions | |
static void | NULLFDHandler (int, void *) |
static void | FlushPipe () |
Static Private Attributes | |
static bool | Initialized = false |
static bool | DoneSignalled = false |
static int | DoneFD = -1 |
static int | DoneReadFD = -1 |
Detailed Description
Member Function Documentation
◆ FlushPipe()
|
staticprivate |
Definition at line 55 of file CommIO.cc.
References DoneReadFD, and FD_READ_METHOD().
Referenced by NotifyIOClose(), NULLFDHandler(), and ResetNotifications().
◆ Initialize()
|
static |
Definition at line 19 of file CommIO.cc.
References COMM_SELECT_READ, commSetNonBlocking(), DoneFD, DoneReadFD, fd_open(), FD_PIPE, Initialized, NULLFDHandler(), and Comm::SetSelect().
Referenced by squidaio_init().
◆ NotifyIOClose()
|
static |
Definition at line 38 of file CommIO.cc.
References DoneFD, DoneReadFD, fd_close(), FlushPipe(), and Initialized.
Referenced by squidaio_shutdown().
◆ NotifyIOCompleted()
|
inlinestatic |
Definition at line 36 of file CommIO.h.
References DoneFD, DoneSignalled, fatalf(), FD_WRITE_METHOD(), and Initialized.
Referenced by squidaio_thread_loop().
◆ NULLFDHandler()
|
staticprivate |
Definition at line 62 of file CommIO.cc.
References COMM_SELECT_READ, FlushPipe(), NULLFDHandler(), and Comm::SetSelect().
Referenced by Initialize(), and NULLFDHandler().
◆ ResetNotifications()
|
static |
Definition at line 69 of file CommIO.cc.
References DoneSignalled, and FlushPipe().
Referenced by squidaio_poll_done().
Member Data Documentation
◆ DoneFD
|
staticprivate |
Definition at line 30 of file CommIO.h.
Referenced by Initialize(), NotifyIOClose(), and NotifyIOCompleted().
◆ DoneReadFD
|
staticprivate |
Definition at line 31 of file CommIO.h.
Referenced by FlushPipe(), Initialize(), and NotifyIOClose().
◆ DoneSignalled
|
staticprivate |
Definition at line 29 of file CommIO.h.
Referenced by NotifyIOCompleted(), and ResetNotifications().
◆ Initialized
|
staticprivate |
Definition at line 28 of file CommIO.h.
Referenced by Initialize(), NotifyIOClose(), and NotifyIOCompleted().
The documentation for this class was generated from the following files:
- src/DiskIO/DiskThreads/CommIO.h
- src/DiskIO/DiskThreads/CommIO.cc
- src/tests/stub_CommIO.cc