Changeset 2b13801 in network-demos


Ignore:
Timestamp:
Feb 10, 1999, 7:56:39 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master, netdemos-4-5-branch, network-demos-4-10-branch, network-demos-4-6-branch, network-demos-4-7-branch, network-demos-4-8-branch, network-demos-4-9-branch, rtems-4-5-branch
Children:
ce34271
Parents:
d681bc2
Message:

Modified to delay at startup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttcp/rtems_ttcp.c

    rd681bc2 r2b13801  
    2222
    2323#include <stdio.h>
     24#include <string.h>
    2425#include <ctype.h>
    2526#include <rtems.h>
     
    99100rtems_ttcp_exit (int code)
    100101{
     102        rtems_task_wake_after( RTEMS_MILLISECONDS_TO_TICKS(1000) );
    101103        rtems_bsdnet_show_mbuf_stats ();
    102104        rtems_bsdnet_show_if_stats ();
     
    229231#define exit(code)      close(fd),rtems_ttcp_exit(code)
    230232#define read_timer      rtems_read_timer
     233#undef delay
    231234
    232235#include "ttcp_orig/ttcp.c"
Note: See TracChangeset for help on using the changeset viewer.