~rousskov/squid/IcapLog3p0

Viewing all changes in revision 7806.

  • Committer: robertc
  • Date: 2006-08-07 08:28:22 UTC
  • Revision ID: cvs-1:robertc-20060807082822-5ksy5ko6mdaeex1r
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: