Welcome! Log In Create A New Profile

Advanced

Event loop efficiency

Posted by Anonymous User 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Anonymous User
Event loop efficiency
April 19, 2007 02:54PM
Does anyone know, at a low level, how the Observer pattern in Qt works? I'm wondering how does the machine watch the object states in the event loop. Does it iterate continuously until a state changes? If so, how often? Isn't this a little bit inefficient (I can't think of a better way, though)?

Oooeerrr... It seems that the event loop has to do with code that will activate when a signal or slot is encountered. Seems more efficient to me.
Sorry, only registered users may post in this forum.

Click here to login