RE: resetting timeout source

2011-01-05 Thread Juan Pablo L .
thank you very much! very useful!! Date: Tue, 4 Jan 2011 22:48:26 +0100 From: jardas...@gmail.com To: jpablolorenze...@hotmail.com CC: gtk-app-devel-list@gnome.org Subject: Re: resetting timeout source Well, I cannot find anything in glib. If you use linux, you can use timerfd_create

RE: resetting timeout source

2011-01-05 Thread Juan Pablo L .
thank you very much!!! i m having a look right ! From: smspil...@gmail.com Date: Wed, 5 Jan 2011 10:33:08 +0800 Subject: Re: resetting timeout source To: jardas...@gmail.com CC: jpablolorenze...@hotmail.com; gtk-app-devel-list@gnome.org On Wed, Jan 5, 2011 at 5:48 AM, Jaroslav Šmíd

Re: resetting timeout source

2011-01-04 Thread Sam Spilsbury
On Wed, Jan 5, 2011 at 5:48 AM, Jaroslav Šmíd jardas...@gmail.com wrote: Well, I cannot find anything in glib. If you use linux, you can use timerfd_create() to create pollable timer, create new GSource, attach the descriptor and you got your timer. Set intervals to zero to stop it, descriptor

resetting timeout source

2010-12-24 Thread Juan Pablo L .
Hi, i m making an application which needs to perform a small task evey X secs, it will disconnect from a server if X seconds have passed without the aplication sending anything to the server, but if before completing the X secs i send something to the server i have to reset the timer for

resetting timeout source

2010-12-24 Thread Juan Pablo L .
Hi, i m making an application which needs to perform a small task evey X secs, it will disconnect from a server if X seconds have passed without the aplication sending anything to the server, but if before completing the X secs i send something to the server i have to reset the timer for