Find the answer to your Linux question:

View Poll Results: To poll or to be summoned by callbacks, that's the question...

Voters
8. You may not vote on this poll
  • polling

    4 50.00%
  • callbacks

    4 50.00%
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.
  1. #1
    Linux Enthusiast scientica's Avatar
    Join Date
    Sep 2003
    Location
    South- or "Mid-" Sweden
    Posts
    742

    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.

  2. #2
    Just 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 !

  3. #3
    Linux 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! */

  4. #4
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    Quote Originally Posted by sykkn
    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.
    Following that logic, you voted for polls!
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  5. #5
    Linux Newbie
    Join Date
    Aug 2001
    Location
    USA, Texas
    Posts
    217
    Quote Originally Posted by sarumont
    ... you voted for polls!
    hmm ... I'm pretty sure I voted callbacks
    [ [ SykkN alloc ] initWithThePowerTo: destroyYouAll ];
    /* Don\'t make me use it! */

  6. #6
    Linux Engineer big_k105's Avatar
    Join Date
    May 2003
    Location
    Fargo, ND
    Posts
    901
    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!

  7. #7
    Linux Newbie
    Join Date
    Aug 2001
    Location
    USA, Texas
    Posts
    217
    [ [ SykkN alloc ] initWithThePowerTo: destroyYouAll ];
    /* Don\'t make me use it! */

  8. #8
    Linux Enthusiast scientica's Avatar
    Join Date
    Sep 2003
    Location
    South- or "Mid-" Sweden
    Posts
    742
    [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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •