Ask a Question related to Mac Programming, Design and Development.
-
David Phillip Oster #1
Re: Q About Cocoa & CF Prefs..
In article <no-EA814A.20172229072003@netnews.upenn.edu>,
Mark Haase <no@spam.please> wrote:
Not only that, if the same preference file is accessed by multiple apps> It is my understanding that when you use the core foundation calls to
> write to an application's preferences, those prefs are not necessarily
> written out to file immediately, but cached in memory for a bit so that
> potentially several can be written at once at a later point in time?
>
> What happens if your program crashes before the prefs get written out?
> They're lost I suppose?
simultaneously, the last app to quit overwrites any preferences written
by the other apps. (According to the tips in the latest issue of
MacAddict)
Not only that, but if one app changes the preferences, the other apps
that are accessing the preferences don't get an event to inform them
that preferences have changed. (According to CarbonEvents.h)
The entire API seems to have been written by programmers with room
temperature IQs.
To Apple: Get a clue guys! the file system handles robust multiple
asynchronous access with updating, the preferences system could too.
David Phillip Oster Guest
-
Zoom Prefs in ACROBAT 8
I am running on mac osx 10.4. I know in acrobat 7 you can set a default percentage for files to open. I seem to have the problem opening ads on my... -
where is prefs file in MXa?
Have to delete prefs file in MXa. Where is it and whats is the new name for it now? Bjorn -
Crash on launch... bad prefs
Illustrator CS crashes every time I launch it. I delete the preferences, and it works fine. But the next time I launch Illustrator, it crashes again.... -
what is it with PS prefs?
I have also had those thoughts -
hiding prefs in in system prefs
In article <ehhLa.41696$Fy6.12103@sccrnsc03>, sam grey <sgrey@invalid.com> wrote: Remove the individual pref panes from... -
James W. Walker #2
Re: Q About Cocoa & CF Prefs..
In article <no-EA814A.20172229072003@netnews.upenn.edu>, Mark Haase
<no@spam.please> wrote:
Yes, but you can explicitly flush the cache.> It is my understanding that when you use the core foundation calls to
> write to an application's preferences, those prefs are not necessarily
> written out to file immediately, but cached in memory for a bit so that
> potentially several can be written at once at a later point in time?
James W. Walker Guest
-
Thomas Engelmeier #3
Re: Q About Cocoa & CF Prefs..
In article
<oster-F5C4C7.20193229072003@newssvr23-ext.news.prodigy.com>,
David Phillip Oster <oster@ieee.org> wrote:
My favorite "feature" is the complete loss of (unmodified) preferences>> > What happens if your program crashes before the prefs get written out?
> > They're lost I suppose?
> Not only that, if the same preference file is accessed by multiple apps
> simultaneously, the last app to quit overwrites any preferences written
> by the other apps. (According to the tips in the latest issue of
> MacAddict)
>
> Not only that, but if one app changes the preferences, the other apps
> that are accessing the preferences don't get an event to inform them
> that preferences have changed. (According to CarbonEvents.h)
in Dock, Finder, ... if the boot disk runs out of swap space :-(((
Well, according to Files.h PBExchangeFiles appeared in InterfaceLib 7.1,
so the write-and-swap-if-successful paradigm is only 10+ years old.
Regards,
Tom_E
Thomas Engelmeier Guest



Reply With Quote

