Re: Deprecation of QSharedMemory and QSystemSemaphore

2023-12-01 Thread Méven
I thought about using QSharedMemory in previewjob / thumbnail ioworker to allow shared memory across OS aka better thumbnails on windows. Answers in the mail show the alternative but will require a bunch of tinkering. Q: I still need shared memory, what can I use instead? A: Use QFile::map(). A m

Re: Deprecation of QSharedMemory and QSystemSemaphore

2023-12-01 Thread Thiago Macieira
On Friday, 1 December 2023 14:01:14 CET Kai Uwe Broulik wrote: > QSystemSemaphore: > * Solid optical disc handling > * Digikam server starter > > QSharedMemory: > * Marble > * KMemFile used by KSycoca > * Solid again > * Snorenotify > * Amarok > * Kdenlive > > At a glance it looks like some (e.g.

Deprecation of QSharedMemory and QSystemSemaphore

2023-12-01 Thread Kai Uwe Broulik
Hi everyone, at Qt Contributor’s Summit it came up that QSharedMemory/QSystemSemaphore are fundamentally broken and will be binned. [1] I found that we have a few users of those classes according to lxc: QSystemSemaphore: * Solid optical disc handling * Digikam server starter QSharedMemory: