Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
ccgus committed Jun 24, 2011
1 parent e2120a6 commit 5677245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Internally, the `-execute*WithFormat:` methods are properly boxing things for yo

<h2 id="threads">Using FMDatabasePool and Thread Safety.</h2>

**Note:** This is preliminary and subject to change. Consider it experimental, but feel free to try it out and give me feedback. I'm also not a fan of the some method names I've added (useDatabase:, useTransaction:) - if you've got better ideas for a name, let me know.
**Note:** This is preliminary and subject to change. Consider it experimental, but feel free to try it out and give me feedback.

Using a single instance of FMDatabase from multiple threads at once is not supported. The Fine Print: It's always been ok to make a FMDatabase object *per thread*. Just don't share a single instance across threads, and definitely not across multiple threads at the same time. Bad things will eventually happen and you'll eventually get something to crash, or maybe get an exception, or maybe meteorites will fall out of the sky and hit your Mac Pro. *This would suck*.

Expand Down

0 comments on commit 5677245

Please sign in to comment.