[Cse461] minor fishnet bug (or feature?): discrepancy between Simulator and Physical classes

From: Bao Nguyen (omicron_at_cs.washington.edu)
Date: Mon Feb 02 2004 - 18:38:38 PST

  • Next message: Janet Davis: "Re: [Cse461] EXTENSION on Fishnet 2 and Homework 2"

    Simulator's constructor contains the line @now = 0, while Physical's
    constructor does not. This results in problems if timers are added in the
    node's constructor instead of start() function. addTimer will scream about
    missing @now.

    Fix: Add @now = 0 to Physical's constructor. The world is at peace again.

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


  • Next message: Janet Davis: "Re: [Cse461] EXTENSION on Fishnet 2 and Homework 2"

    This archive was generated by hypermail 2.1.6 : Mon Feb 02 2004 - 18:34:53 PST