KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Overflow of eventqueue

 
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion
View previous topic :: View next topic  
Author Message
Bert
KiXforms Regular
KiXforms Regular


Joined: 06 Oct 2003
Posts: 56
Location: Netherlands

PostPosted: Thu Oct 23, 2003 11:20 am    Post subject: Overflow of eventqueue Reply with quote

Hi,

What happens when I use a timer that queues events say every 0.5 second and the time to handle this event takes longer or some other long processing is done every loop.
I assume that the eventqueue will fill up. And than?
Will new events get lost? Will the system become unstable.
I ask this because I have (re)build a script that pings hosts in a loop where the ping could take several seconds to complete.
After a long time the program (kixtart?, kixforms?) got frozen.

Bert

_________________
Bert

There are 10 kinds of people. Those who can count binary and those who can't.
Back to top
View user's profile Send private message
Shawn
KiXforms Developer
KiXforms Developer


Joined: 22 Feb 2003
Posts: 1983
Location: Canada

PostPosted: Thu Oct 23, 2003 12:37 pm    Post subject: Reply with quote

Bert,

Yeah - Timer events do get inserted into the Windows message queue, but an exception is made for them to stop this specific problem of Timer buildup ... in fact, the way its supposed to work is that if there is a Timer message already in the queue, the old one is just simply replaced with the new one ... so theorectically they dont build-up. There was a problem in Kixforms in the earlier builds with a sml memory leak associated with Timer events though ... but I fixed this quite a few builds back.

Guess what I am saying is that timer buildup shouldn't be a problem and that its probably something else ...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group