Re: May I execute mozIStorageStatement.executeAsync() at the same time in a single thread?

2015-04-24 Thread Yonggang Luo
在 2015年4月25日星期六 UTC+8上午3:28:02,David Rajchenbach-Teller写道: By the way, I don't know if you're writing JS code or C++ code, but if it's the former, you really should use Sqlite.jsm. Yes, I was using Javascript code, maybe that's was the cause of failure. Cheers, David On 24/04/15 18:48,

May I execute mozIStorageStatement.executeAsync() at the same time in a single thread?

2015-04-24 Thread Yonggang Luo
I am currently using executeAsync to do async sqlite operation in main thread, and running multiple executeAsync in parallel, and it's crashed, I am not so sure if multiple executeAsync can be executed at the same time. ___ dev-platform mailing list

Re: May I execute mozIStorageStatement.executeAsync() at the same time in a single thread?

2015-04-24 Thread Andrew Sutherland
On 04/24/2015 12:48 PM, Yonggang Luo wrote: I am currently using executeAsync to do async sqlite operation in main thread, and running multiple executeAsync in parallel, and it's crashed, I am not so sure if multiple executeAsync can be executed at the same time. This is fine. The

Re: May I execute mozIStorageStatement.executeAsync() at the same time in a single thread?

2015-04-24 Thread David Rajchenbach-Teller
By the way, I don't know if you're writing JS code or C++ code, but if it's the former, you really should use Sqlite.jsm. Cheers, David On 24/04/15 18:48, Yonggang Luo wrote: I am currently using executeAsync to do async sqlite operation in main thread, and running multiple executeAsync in