<div class="gmail_quote">On Mon, Sep 12, 2011 at 4:10 PM, Caitlin Sadowski <span dir="ltr"><<a href="mailto:supertri@google.com">supertri@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Attached is a patch which skips analysis inside of lock functions<br>
(avoiding spurious warnings).<br></blockquote><div><br></div><div>Can you give examples of the real-world code that would trigger warnings without this? I have to admit I'm a bit suspect. It seems like if you're doing something other than atomic operations and system calls inside of your lock function, you might well want thread safety annotations for that....</div>
</div>