]> git.ipfire.org Git - thirdparty/squid.git/commit - src/store_client.cc
Create an explicit EventLoop class which can be used to run an event loop
authorrobertc <>
Mon, 7 Aug 2006 08:28:22 +0000 (08:28 +0000)
committerrobertc <>
Mon, 7 Aug 2006 08:28:22 +0000 (08:28 +0000)
commita553a5a35d4f6bf515fc77867e66276f42d04fe1
tree03474627f83dcf8ce0172f8ede13407fc8ecdafa
parent2ea10ed43aad6b51cc392ade38f1ef7532e8649b
Create an explicit EventLoop class which can be used to run an event loop
outside of main.cc - i.e. for test cases. Refactor the event module into two
sections - EventScheduler which schedules events, and EventDispatcher which
dispatches events unconditionally. Refactor the signal handling code in
main to use an event dispatcher too, making the loop cleaner.
63 files changed:
src/AuthUser.cc
src/CommRead.h
src/CompletionDispatcher.cc [new file with mode: 0644]
src/CompletionDispatcher.h [new file with mode: 0644]
src/DiskIO/DiskThreads/aiops.cc
src/EventLoop.cc [new file with mode: 0644]
src/EventLoop.h [new file with mode: 0644]
src/ICAP/ICAPConfig.h
src/ICAP/ICAPXaction.h
src/ICAP/MsgPipe.h
src/Makefile.am
src/ProfStats.cc
src/auth/digest/auth_digest.cc
src/client_db.cc
src/client_side.h
src/comm.cc
src/comm.h
src/comm_poll.cc
src/delay_pools.cc
src/dns_internal.cc
src/enums.h
src/event.cc
src/event.h [new file with mode: 0644]
src/forward.cc
src/forward.h
src/fqdncache.cc
src/fs/coss/store_dir_coss.cc
src/fs/null/store_null.cc
src/fs/ufs/ufscommon.h
src/ipcache.cc
src/main.cc
src/mem.cc
src/neighbors.cc
src/net_db.cc
src/peer_digest.cc
src/peer_select.cc
src/protos.h
src/send-announce.cc
src/stat.cc
src/store.cc
src/store_client.cc
src/store_digest.cc
src/store_rebuild.cc
src/structs.h
src/tests/CapturingStoreEntry.h [new file with mode: 0644]
src/tests/stub_comm.cc
src/tests/testCoss.cc
src/tests/testEvent.cc [new file with mode: 0644]
src/tests/testEvent.h [new file with mode: 0644]
src/tests/testEventLoop.cc [new file with mode: 0644]
src/tests/testEventLoop.h [new file with mode: 0644]
src/tests/testHeader_CompletionDispatcher.cc [new file with mode: 0644]
src/tests/testHeader_EventLoop.cc [new file with mode: 0644]
src/tests/testHeader_Store.cc [new file with mode: 0644]
src/tests/testHeader_comm.cc [new file with mode: 0644]
src/tests/testHeader_event.cc [new file with mode: 0644]
src/tests/testNull.cc
src/tests/testStoreEntryStream.cc
src/tests/testString.cc
src/tests/testUfs.cc
src/typedefs.h
src/wccp.cc
src/wccp2.cc