View Poll Results: To poll or to be summoned by callbacks, that's the question...
- Voters
- 8. You may not vote on this poll
Results 1 to 8 of 8
this is just (yet) another poll - so please, VOTE!
yes, I'm boored - so what? Are you going to vote or not?
(p.s. mods, if you think I'm wasting ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-13-2004 #1
Poll Call...
this is just (yet) another poll - so please, VOTE!
yes, I'm boored - so what? Are you going to vote or not?
(p.s. mods, if you think I'm wasting db rows, just zap this thread)Regards Scienitca (registered user #335819 - http://counter.li.org )
--
A master is nothing more than a student who knows something of which he can teach to other students.
- 07-13-2004 #2Just Joined!
- Join Date
- May 2004
- Location
- Columbus, Ohio
- Posts
- 16
I'm not sure I know the difference, but if callback is what I think it is, then I want none of it !
- 07-13-2004 #3Linux Newbie
- Join Date
- Aug 2001
- Location
- USA, Texas
- Posts
- 217
I voted for callbacks. I have it when people don't call me back ... and polls are a waste of time ... I just lie on them anyway.
[ [ SykkN alloc ] initWithThePowerTo: destroyYouAll ];
/* Don\'t make me use it! */
- 07-14-2004 #4Following that logic, you voted for polls!
Originally Posted by sykkn
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 07-14-2004 #5Linux Newbie
- Join Date
- Aug 2001
- Location
- USA, Texas
- Posts
- 217
hmm ... I'm pretty sure I voted callbacks
Originally Posted by sarumont
[ [ SykkN alloc ] initWithThePowerTo: destroyYouAll ];
/* Don\'t make me use it! */
- 07-14-2004 #6
i voted call back. i dont even know what the question was really but thats what i voted for
BIG K aka Kyle
Programming Forums
www.kylekonline.com
Please don\'t PM me for help-- ask in the forums instead!
- 07-14-2004 #7Linux Newbie
- Join Date
- Aug 2001
- Location
- USA, Texas
- Posts
- 217
[ [ SykkN alloc ] initWithThePowerTo: destroyYouAll ];
/* Don\'t make me use it! */
- 07-14-2004 #8
[offtopic]

Polling ("P") vs. Callbacks ("C") - an explanation
P and C are two ways to for instance retieving input, Polling means to activly ask if there is nore input.
P means to repeatidly ask "Has it happened yet?" and then continue to do so untill something happens.
C are functions called when something happens, for instance in Win32 there is an callback function (commonly: read: for HLL/Template code) named WndProc which is an function with a specific prototpe, it's called when ever an event occurs eg WM_PAINT (when the window needs to be repainted).
Polling is usually rather "give me all CPU time", and callbacks are like, ok, now I can do something else untill something happens or "ok, now this function will handle this event now I can move on with my life as a thread".
Naturally there are times where C or P is best or both do equally good (or bad) - it's just a matter or "many things" :P
[/offtopic]Regards Scienitca (registered user #335819 - http://counter.li.org )
--
A master is nothing more than a student who knows something of which he can teach to other students.


Reply With Quote
