Skip to content

Instantly share code, notes, and snippets.

@kierankelleher
Created February 12, 2012 13:11
Show Gist options
  • Select an option

  • Save kierankelleher/1808397 to your computer and use it in GitHub Desktop.

Select an option

Save kierankelleher/1808397 to your computer and use it in GitHub Desktop.
EOEditingContext locking pattern
ec.lock();
try {
// work with ec here
} finally {
ec.unlock();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment