On Mon, 27 Oct 2014 21:53:59 -0700, Balance On I <balance...@gmail.com> wrote:
> Hi All, > > I have an application where I create a temp table/view in one thread. I > then try to perform some operations in background and I don’t have access > to those temp objects. I thought that those were process scoped. Is it > possible to access temp tables/views from across threads? Temp objects are connection scoped. > I am currently doing this in Objective-C and am using blocks to open a > connection, perform operations, then close the connection in the background > on a concurrent dispatch queue. Are you sure the temp objects are accessed via the same connection (db object) as where they were created? > Is there a better multi-threaded approach? I'll leave that to someone more experienced in threading. -- Regards, Kees Nuyt _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users