On Apr 9, 11:31*pm, Ed West wrote:
> If only mozIStorageService
> and
> mozIStorageConnection are thread safe, then how can IO be performed on a
> background thread without using
> executeAsync?

You can create mozIStorageStatements on different threads, you just
cannot use the object on more than one thread at a time. That means
you have to either protect it with locks, or you have to hand it off
to different threads, or simply create and destroy it on the thread
you created it with.

Cheers,

Shawn