]> git.ipfire.org Git - thirdparty/squid.git/commit
SourceLayout: shuffle CommIO into DiskThreads library
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 6 Feb 2012 01:01:23 +0000 (18:01 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 6 Feb 2012 01:01:23 +0000 (18:01 -0700)
commit1ff991dcd2c8ef953646784b419981226687d407
treeddaccbb962a22d97f5663210ab90cf07b2e81b03
parentf9329b5461e3b879607fae8174b35d6c93c707f7
SourceLayout: shuffle CommIO into DiskThreads library

While investigating the Windows port problems it became clear that the
CommIO object is not actually related to the rest of comm systems. It is
instead a dedicated higher level disk I/O pipe manager for DiskThreads.

Given that it causes build errors in comm.cc on Windows and does not
even need to be there this patch shuffles it into the DiskThreads
library. The build issues on Windows still exist but are now limited to
just that threads library and can be avoided temporarily with simple
./configure options.
src/DiskIO/DiskThreads/CommIO.cc [new file with mode: 0644]
src/DiskIO/DiskThreads/CommIO.h [moved from src/CommIO.h with 81% similarity]
src/DiskIO/DiskThreads/aiops.cc
src/DiskIO/DiskThreads/aiops_win32.cc
src/Makefile.am
src/comm.cc
src/tests/stub_CommIO.cc