Quoting Koen Deforche <[EMAIL PROTECTED]>:

> Hey Pau,
>
> 2008/9/11 Pau Garcia i Quiles <[EMAIL PROTECTED]>:
>> Hello,
>>
>> Is WTimer supposed to work server-side or only client-side? (it's not
>> working for me server-side, it never timeouts). I've tried with Wt
>> 2.1.5 and CVS.
>
> It is implemented client-side, i.e. the timer runs within the client
> browser, and an event is generated on timeout to the server-side.

Mmm So it's "pull".

In this case I only needed it to work server-side.

> This should always work though, unless you are blocking the event loop
> and try to use it while handling a single event ?

I'd say I'm not blocking it:
http://websvn.kde.org/trunk/playground/office/elampo/wtstrigiclient.cpp?view=markup

(the timer is called "poller")

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to