diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2011-10-21 07:59:54 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2011-10-21 08:57:42 (GMT) |
commit | 0375fff2b077ddd20a97c1b1c8d34f22553abe0c (patch) | |
tree | e865f2a984fc29d3a428a0121a893a2c8f00dd84 /dist/changes-2.2.2 | |
parent | 2df43004a5c093879371574cfe9ea3f68fefa69c (diff) | |
download | Qt-0375fff2b077ddd20a97c1b1c8d34f22553abe0c.zip Qt-0375fff2b077ddd20a97c1b1c8d34f22553abe0c.tar.gz Qt-0375fff2b077ddd20a97c1b1c8d34f22553abe0c.tar.bz2 |
Fix performance regression on Mac OS X when creating/destroying QMutex
This reverts commit cf17b743d2fe84ab259b7232ab07b58a1872e18e, which
changed QMutex to use a Mach semaphore_t on Mac OS X. We now use
pthread_mutex_t on Mac OS X as well. Contention performance is mostly
unchanged, but the new constructionQMutex() benchmark added in this
commit shows that creating/destroying a semaphore_t is about 20 times
slower than pthread_mutex_t.
Reviewed-by: Olivier Goffart
Reviewed-by: João Abecasis
Diffstat (limited to 'dist/changes-2.2.2')
0 files changed, 0 insertions, 0 deletions