New version of the threaded test LGTM.You can't in general unlock a mutex from a different thread from the one it was locked in. That would defeat deadlock detection. Semaphores don't have that
restriction and for the same reason you can't normally detect a semaphore deadlock. At least this is how I see it and Wikipedia seems to agree.
http://codereview.chromium.org/1780001/show -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
