jingham added a comment.

I don't think you can manipulate the public run lock in PrivateResume like 
this.  PrivateResume gets run in a bunch of places (like calling functions) 
that are way below the level the public run lock.  You probably need to catch 
errors from PrivateResume in Resume and release the lock there.

That's a little ugly, but it is good to have PrivateResume return an accurate 
error, so I think putting the check there is right.


http://reviews.llvm.org/D17635



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to