Add a way to benchmark sem_t on Unix too
authorThiago Macieira <thiago.macieira@intel.com>
Tue, 28 Aug 2012 11:46:16 +0000 (13:46 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 7 Sep 2012 13:39:31 +0000 (15:39 +0200)
commit9c29beb9eaa35a0c62aca9abb369540fe4edc4d5
tree06889eb9165bcfb3280ecba002f8ff7a16bd90e2
parentefc167b8e44bc47923b2e36d9db8bad129f9578b
Add a way to benchmark sem_t on Unix too

It's closer to what we do with in QMutex than pthread_mutex_lock.

Change-Id: I86498a800b69b684bf096912e911bc5bca219727
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
tests/benchmarks/corelib/thread/qmutex/tst_qmutex.cpp