• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data : Multiuser ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data : Multiuser ?


  • Subject: Re: Core Data : Multiuser ?
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 6 Aug 2010 18:27:37 -0700

On 2010 Aug 06, at 17:03, Kyle Sluder wrote:

> http://lists.apple.com/archives/cocoa-dev/2010/Mar/msg01026.html
>
> Short answer: it's not supported.

I'm not sure, Kyle.  In the message you linked to, Ben was talking about access from multiple machines.  But in an earlier message in that thread,

http://lists.apple.com/archives/cocoa-dev/2010/Mar/msg01000.html

Ben said, "Yes, several Apple frameworks use Core Data databases from multiple processes simultaneously with a single user account and single physical machine."

which is what I'm interested in.  Two processes, same Mac, same user.

Reason:  While testing an app earlier today, I saw some Core Data errors which seemed to stop when I killed a background process which may have been accessing the same non-document sqlite store.  It may do this in real life.

I need to go back and try to reproduce and isolate the trouble, but would appreciate any more advice on this topic.

In that 2007 thread, Ben referred the poster to the sqlite documentation on file locking, which I presume is this:

http://www.sqlite.org/lockingv3.html

But that's not very helpful since I have no idea if, when, how or why Core Data acquires the various locks discussed in there.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Core Data : Multiuser ?
      • From: Kyle Sluder <email@hidden>
References: 
 >Core Data : Multiuser ? (From: Jerry Krinock <email@hidden>)
 >Re: Core Data : Multiuser ? (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Scroller With CATiledLayer Running out of Memory
  • Next by Date: Main Thread Crashing in Multithreaded App
  • Previous by thread: Re: Core Data : Multiuser ?
  • Next by thread: Re: Core Data : Multiuser ?
  • Index(es):
    • Date
    • Thread