Changeset 845f170a in rtems


Ignore:
Timestamp:
08/20/02 15:53:52 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e5fc1df
Parents:
fa42a76b
Message:

2002-08-20 Eric Norum <eric.norum@…>

  • rtems/rtems_glue.c: Per PR270, the BSD network code expects that the value of the number of seconds since boot is non-zero. The RTEMS network initialization code assures this by waiting for a second. A more efficient technique is to simply wait until the number of seconds since boot is non-zero.
Location:
cpukit/libnetworking
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/ChangeLog

    rfa42a76b r845f170a  
     12002-08-20      Eric Norum <eric.norum@usask.ca>
     2
     3        * rtems/rtems_glue.c: Per PR270, the BSD network code expects that
     4        the value of the number of seconds since boot is non-zero.  The
     5        RTEMS network initialization code assures this by waiting for a
     6        second.  A more efficient technique is to simply wait until the
     7        number of seconds since boot is non-zero.
     8
    192002-08-09      Joel Sherrill <joel@OARcorp.com>
    210
  • cpukit/libnetworking/rtems/rtems_glue.c

    rfa42a76b r845f170a  
    115115                        try = 0;
    116116                }
    117                 rtems_task_wake_after (rtems_bsdnet_ticks_per_second);
     117                while (rtems_bsdnet_seconds_since_boot() == 0)
     118                        rtems_task_wake_after(1);
    118119                rtems_bsdnet_semaphore_obtain ();
    119120        }
Note: See TracChangeset for help on using the changeset viewer.