Threaded coding

From EOFWiki
Jump to: navigation, search

There is some basic support to let MulleEOF run in a Multithreaded app. Note that EOInterface is an AppKit dependent framework and thusly only can operate in the thread, that AppKit runs on.

The EOObjectStore/EOEditingContext hierarchy takes care to lock itself, when executing common user request.

EOClassDescription is threadsafe for all class methods. EOTemporaryGlobalID is threadsafe for all class methods

All EOModel methods are not threadsafe (yet ?), use the lock in EOModelGroup to synchronize manually.

Insure that you don't go multithreaded during a fetch (very likely, since you might present a view there with a blinking OK button!) in MulleEOF inadvertantly. See EOObjectStore for the willNeverGoMultiThreaded method.

Personal tools