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.
git-svn-id: https://svn.apache.org/repos/asf/httpd/flood/trunk@697920 13f79535-47bb-0310-9956-ffa450edef68
4 files changed