Add support to hold a spin lock when acquiring and releasing locks. Additionally, implement support to optionally release all locks unconditionally as some client (e.g. Mobile Safari) may require this behavior. Currently, we only support releasing all locks conditionally.
Created attachment 214754 [details] Patch
See <rdar://problem/14171014> for the reasoning behind requiring a spin lock when acquiring or releasing all locks.
See <rdar://problem/11231897> for details on implementing support to release all locks unconditionally.
Comment on attachment 214754 [details] Patch I am so ashamed of this code :(.
Committed r157809: <http://trac.webkit.org/changeset/157809>