How to know that a certain boost thread has been executed in boost C++?
<p>I have made a separate thread other than the main one using boost C++ library in my source code:</p>

<pre><code>boost::thread t(&amp;initSynthesis);
</code></pre>

<p>I want to know when this initSyntesis() function is executed ( or the thread t) so that I can make the button visible on the windows form which was initially hidden using:</p>

<pre><code>button1-&gt;show();
</code></pre>

<p>But the problem is that I'm making thread t from the <code>constructor</code> of the form class and <code>initSynthesis</code> function is not a part of this class so I'm unable to show the button when this function is executed. How to solve this issue?</p>