]>
git.ipfire.org Git - thirdparty/squid.git/blob - src/DiskIO/DiskThreads/CommIO.h
1 #ifndef SQUID_SRC_DISKIO_DISKTHREADS_COMMIO_H
2 #define SQUID_SRC_DISKIO_DISKTHREADS_COMMIO_H
11 static inline void NotifyIOCompleted();
12 static void ResetNotifications();
13 static void Initialise();
14 static void NotifyIOClose();
17 static void NULLFDHandler(int, void *);
18 static void FlushPipe();
19 static bool Initialised
;
20 static bool DoneSignalled
;
22 static int DoneReadFD
;
25 /* Inline code. TODO: make structured approach to inlining */
27 CommIO::NotifyIOCompleted()
30 fatalf("Disk Threads I/O pipes not initialized before first use.");
35 FD_WRITE_METHOD(DoneFD
, "!", 1);
39 #endif /* SQUID_SRC_DISKIO_DISKTHREADS_COMMIO_H */