/[Apache-SVN]
ViewVC logotype

Revision 697920


Jump to revision: Previous Next
Author: jerenkrantz
Date: Mon Sep 22 18:13:46 2008 UTC (15 years, 9 months ago)
Changed paths: 4
Log Message:
Protect relative times report output with a mutex to avoid overlap.

* flood_config.h
  (config_t): Add thread mutex to config structure.
* flood_farm.c
  (run_farm): Create thread mutex when we create farmers structure.
* flood_report_relative_times.c
  (relative_report_t): New structure to hold pointer to a config.
  (relative_times_report_init): Create report structure and stash config.
  (relative_times_process_stats): Use thread mutex to lock printf calls.
* CHANGES: Update.


Changed paths

Path Details
Directoryhttpd/flood/trunk/CHANGES modified , text changed
Directoryhttpd/flood/trunk/flood_config.h modified , text changed
Directoryhttpd/flood/trunk/flood_farm.c modified , text changed
Directoryhttpd/flood/trunk/flood_report_relative_times.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26