[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] Event loop threaded
From: |
Alexander Pipelka |
Subject: |
Re: [paragui-users] Event loop threaded |
Date: |
Fri, 8 Nov 2002 21:54:12 +0100 |
User-agent: |
KMail/1.5 |
Am Freitag, 8. November 2002 21:19 schrieb Bergel Alexandre:
> Hello,
>
> I have some troubles when I use a thread event loop. I cannot add any
> widget. For instance:
<snip>
> Show me nothing, whereas if I replace the very last statment by app->Run(),
> it works fine...
>
> If anyone could help me...
Maybe :))
First of all threaded eventloops are unsupported under Windows (I don't know
which OS you're using).
If you start the eventloop 'threaded' the app->Run(true) call will return
*immediately* (it spawns a new thread). If this is the last call in your app
it will exit and the spawned thread will be killed.
Alex