<div dir="ltr">Note that I detected an error in the use of the "modification mutex" within<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Resource. I had used it only for "writes" to variables, but obviously the<br>
reads must be mutex-protected too. Now that I understand the C++11 memory<br>
model, it's a lot clearer :)<br>
I'll rename the mutex then, it's not a "modification mutex", it's a mutex for<br>
the resource member variables.<br></blockquote></div><div><br>Uhm. Okay.<br></div></div><br></blockquote><div><br>Does the extra locking fix <a href="https://bugs.kde.org/show_bug.cgi?id=305024">https://bugs.kde.org/show_bug.cgi?id=305024</a> which is some sort of memory corruption in the client-side resource watcher? It seems to be threading related, since it is intermittent...<br>
<br>Simeon<br></div></div></div></div>