Subject Re: [firebird-support] Using Zeos 7 and FB 2.5, how do you see in main thread changes made in background thread
Author Helen Borrie
At 02:05 p.m. 9/10/2015, Mark Patterson mark.aurelius@... [firebird-support] wrote:

>I am using Zeos 7.1.4 stable, and FB 2.5 embedded. I am processing a directory full of SQL scripts to generate a database. All the tables are getting created in a background thread, but after than if I then try to list the tables in the main thread, they don't immediately show up. I have to exit the app and rerun it.
>Is there some standard way to have the results of a background thread visible in the main thread?

Commit the transaction in the main thread and start a new one. Then you will see the **committed** work from other transactions. You will never see uncommitted work from other transactions, under any circumstances.

Please would you refrain from unsubscribing and resubscribing to this list every time you post a message. All new subs are moderated - that is to protect all of us, including you, from spam. If you don't want to get the list messages, set your account to No Email.