multithreading - beginner needs help with design/planning report-functionality in C++ Application -
i'm somehow stuck implementing reporting functionailty in log-parser application. this did far: i'm writing application reads logfiles , searches strings multiple regular expressions can defined in user-configuration file. every called "stringpipe"-defintion parsed configuration main-process spawns worker thread search single regex. more definitons user creates, more worker threads spawned. main function reads bunch of logstrings , sends workers process strings , on. now want every single worker thread spawned report information number of matches has found, how long took, did strings , on. these information used export csv, write db , on. now i'm stuck @ point created class "report". class provides member functions called worker threads make report-class gather infos needed generating report. for workers (which boost::threads / functors) have create report-object can call reporting functions for. the problem in design, because when worker...