[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: threading and idle functions




On 30-Jun-99 Xiong Shao Jun wrote:
> Hi, gtk folks. I'm working on a program with a few threads. One
> thread
> monitors
> network connection, and pass received data to main thread, while I
> registered
> an idle function to handle the data passed from network monitor
> thread.
> When I
> start the program, the idle function is called once. But later
> after
> that, it is not called
> any more. Could you please tell me the reason, and the solution?
> Any
> suggestions
> will be greaty appreciated.

Your idle function has to return TRUE for it to be called again.

-tony


---
E-Mail: trog@gtk.org
The honeymoon is over when he phones to say he'll be late for supper and
she's already left a note that it's in the refrigerator.
		-- Bill Lawrence

Go Bezerk! http://www.gtk.org/~trog



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]