Is there a way to figure out what thread an NSManagedObjectContext is on?
问题 My understanding of threads with respect to an NSManagedObjectContext is that it can only execute core data fetch requests, deletes, etc., on the thread from which it was created. Is there any way to check to see what thread an NSManagedObjectContext was created on, or if at a particular point of execution the current thread is that of a particular NSManagedObjectContext ? Thanks! 回答1: My understanding of threads with respect to an NSManagedObjectContext is that it can only execute core data