Review request for KDE Software on Mac OS X, kdelibs and Allen Winter.
This patch improves KSharedData on 2 points:
- It enables `KSDC_THREAD_PROCESS_SHARED_SUPPORTED` on OS X because even if the OS cannot do timeouts on mutex locking, it does have Posix mutexes (pthreads). I don't know why this was deactivated explicitly on OS X (do you remember, Allan?), but haven't seen issues with KSDC_THREAD_PROCESS_SHARED_SUPPORTED - for now.
- OS X doesn't have `posix_fallocate()`, but an emulation of this function is available in the Mozilla code (reference found on StackOverflow). The code seems to be license-compatible, so I removed the code for non-OS X platforms, and include it in `kshareddatacache_p.h`. Again, this seems to work.
Diff: <a href="https://git.reviewboard.kde.org/r/121930/diff/" title="https://git.reviewboard.kde.org/r/121930/diff/">https://git.reviewboard.kde.org/r/121930/diff/</a>
On OS X 10.9.5 with kdelibs 4.14.4 and KDE PIM 4.13.3 (I use KMail as my default MUA).
René J.V. Bertin
|KDE at the next Qt Contributors' Summit||5|
|Why does KPushButton have a delayedMenu?||5|
|KSecretsService Project information page on TechBase (and more)||0|
|Pre-merge CI for Gerrit||4|
|Review Request 122252: KRecursiveFilterProxyModel: fix emitting superfluous dataChanged signals||8|
|Review Request: Fix Calculator keyboard key not working||8|
|KAccounts move into extragear/base||3|