Ignore:
Timestamp:
Aug 20, 2002, 3:53:52 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e5fc1df
Parents:
fa42a76
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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/rtems/rtems_glue.c

    rfa42a76 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.