#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 57 of file CommIO.cc.
References DoneReadFD, and FD_READ_METHOD().
Referenced by NotifyIOClose(), NULLFDHandler(), and ResetNotifications().
◆ Initialize()
| 
 | static | 
Definition at line 21 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 40 of file CommIO.cc.
References DoneFD, DoneReadFD, fd_close(), FlushPipe(), Initialized, and xclose().
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 64 of file CommIO.cc.
References COMM_SELECT_READ, FlushPipe(), and Comm::SetSelect().
Referenced by Initialize().
◆ ResetNotifications()
| 
 | static | 
Definition at line 71 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
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
