Problem with ksycoca on windows
Ralf Habacker
ralf.habacker at freenet.de
Fri Feb 15 13:28:00 GMT 2008
David Faure schrieb:
> On Friday 15 February 2008, Thiago Macieira wrote:
>
>> On Friday 15 February 2008 13:39:28 David Faure wrote:
>>
>>> Using shared memory is an interesting alternative (for unix too), I wonder
>>> how portable QSharedMemory is.
>>>
>> QSharedMemory is supported in all Qt platforms and so is QSystemSemaphore. But
>> be careful about applications crashing while it's open, since the key may
>> never be disposed of (resource leak).
>>
>
> The obvious owner of a ksycoca shared memory would be kded.
> It's not supposed to crash, in theory :)
>
Would not be the first application which tries to load ksycoca the
owner of the shared memory (or the mmaped file if memory mapping is
used) or are you thinking about removing the file completly and let it
live only in memory ?
Ralf
More information about the kde-core-devel
mailing list