Re: [Cse461] "event-driven program"

From: Brian Hoxie (bhoxie_at_cs.washington.edu)
Date: Wed Jan 14 2004 - 17:15:12 PST

  • Next message: Alissa Harrison: "[Cse461] Logging messages"

    I'm assuming that they are referring to the difference between handling
    events vs. threads. In a event system, pressing a button on the screen
    invokes an event handler. The event is run and then finishes. It is
    sequential..?? For threads, you can start a thread and then do other
    processing and then the thread can return at any time. This requires that
    you syncronize your global variables with all sorts of semaphores and
    things that I never really got in OS class :p

    That's the best I can explain it.

    On Wed, 14 Jan 2004, Nhan Jason V. Dang wrote:

    > hey guys,
    >
    > Can someone please clarify what "event-driven program" mean?
    >
    > thanks a lot,
    > ja.S.on
    >
    > ______________________________________
    > Nhan Vinh Jason Dang
    > Computer Engineering
    > University of Washington
    > http://students.washington.edu/jvndang
    >
    > "It is by living a life in common with a person that we learn
    > of that person's moral character, and then only if having insight
    > ourselves, we have watched a person for a long time. It is only
    > in conversation with a person that we learn of that person's
    > wisdom and clarity of heart; and then only if, having insight
    > ourselves; we have paid attention for a long time. It is during
    > times of trouble that we learn of another's fortitude; and then
    > only if, having insight ourselves, we have paid careful attention
    > for a long time." ~~The Buddha
    >
    > On Wed, 14 Jan 2004, Janet Davis wrote:
    >
    > > If you want to try out your solution with a sample solution, you can
    > > connect through the emulator to a trawler at zuniga:9000.
    > >
    > > Nodes 1 and 2 are running the sample solution.
    > >
    > > Cheers,
    > > Janet
    > >
    > > --
    > > Janet Davis
    > > jlnd_at_cs.washington.edu
    > > http://www.cs.washington.edu/homes/jlnd/
    > >
    > >
    > > _______________________________________________
    > > Cse461 mailing list
    > > Cse461_at_cs.washington.edu
    > > http://mailman.cs.washington.edu/mailman/listinfo/cse461
    > >
    > _______________________________________________
    > Cse461 mailing list
    > Cse461_at_cs.washington.edu
    > http://mailman.cs.washington.edu/mailman/listinfo/cse461
    >

    _______________________________________________
    Cse461 mailing list
    Cse461_at_cs.washington.edu
    http://mailman.cs.washington.edu/mailman/listinfo/cse461


  • Next message: Alissa Harrison: "[Cse461] Logging messages"

    This archive was generated by hypermail 2.1.6 : Wed Jan 14 2004 - 17:15:18 PST