Re: Thread problem in Windows
- From: Filipe Apostolo <f apostolo cbr gmail com>
- To: gtkmm-list gnome org
- Subject: Re: Thread problem in Windows
- Date: Mon, 21 Sep 2009 15:38:38 +0100
Filipe Apostolo wrote:
> Armin Burgmeier wrote:
>
>>> Glib::Thread *const opcWriterThread = Glib::Thread::create(
>>> sigc::mem_fun(this, &MyClass::ThreadTest), true);
>>> opcWriterThread->join();
>>> writing.run();
>>>
>> Joining a thread means waiting for it to finish. So you are waiting
>> for the thread here before running the dialog, which explains the
>> behaviour you are experiencing.
>>
>> Try joining it afterwards, or make the thread non-joinable.
>>
>> Armin
>>
>>
Ok my automatic checkspell has set me a prank ..."sucked", I'm really
sorry I meant "Stuck"
> Thanks it worked, however the the main thread is sucked until the user
> closes the window, how can I call it back without user interaction?
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]