Add HLE locks and synchronic TTAS locks to the ToyLocks benchmark suite
https://bugs.webkit.org/show_bug.cgi?id=157367

Rubber stamped by Benjamin Poulain.
        
Turns out they are both a lot slower than WTF::Lock. The HLE lock is written according to Intel's
documentation. The synchronic lock follows the algorithm of the "ttas_lock" in the synchronic
test.hpp.

* benchmarks/ToyLocks.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@200444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2 files changed