Re: Multithreaded application freezing

2015-02-02 Thread G Hasse
Den 2015-02-02 22:57, Gulshan Singh skrev: I strongly advice designing an application in this way. Every window in an application should be a separate process. Between processes you should find a good protocol. This protocol should be transported over some message buss. (example: www.spread.or

Re: Multithreaded application freezing

2015-02-02 Thread G Hasse
Den 2015-02-02 23:07, G Hasse skrev: One more example: http://youtu.be/uy0vJhp3zvw /gh Den 2015-02-02 22:57, Gulshan Singh skrev: I strongly advice designing an application in this way. Every window in an application should be a separate process. Between processes you should find a good

Re: Multithreaded application freezing

2015-02-03 Thread G Hasse
Den 2015-02-03 03:26, Jasper St. Pierre skrev: On Mon, Feb 2, 2015 at 5:07 PM, G Hasse <mailto:gor...@raditex.nu>> wrote: Den 2015-02-02 22:57, Gulshan Singh skrev: I strongly advice designing an application in this way. Every window in an application should be a

Re: How to get the widget's size before it has been shown?

2008-09-05 Thread G Hasse
On Wed, Sep 03, 2008 at 06:30:25PM +0800, Lazy Fox wrote: > /* How to get the widget's size before it has been shown? > * > * There are two "printf" statements below. I want to get the widget's > size at the first printf. > * How to do this? > */ > #include > > int main( int argc, char *arg

Re: Threading question (avoiding deadlock)

2002-03-18 Thread G Hasse
On Sun, 17 Mar 2002, Pascal Haakmat wrote: > Hello, > > I was hoping somebody could point me in the right direction here. > > I have a program with two (p)threads; one thread running the gtk_main() > event loop, and the other thread periodically updating the display in a > gdk_threads_enter() / g