configuration update on a fast path packet processing
<p>We have got an application which processes incoming packets with a thread pool. Each thread has got a configuration which is being used while packet processing.</p>

<p>We are currently using mutex to lock before a check for configuration has changed or not.</p>

<p>This makes threads to spend too much time to lock the mutex to check if there is a configuration update. We are wondering if there could be faster alternative you guys can suggest.
Implementation is with C++</p>

<p>Regards.</p>