Skip to content

Move start_time out of closure state

Rohit Kothur requested to merge rkothur/fix-timed-method-state into master

Description

start_time is visible across every thread that runs this function, so every new thread that runs it will overwrite it. Make this local to the function and pass it around where necessary.

Merge request reports