Ignore:
Timestamp:
Mar 25, 2003, 7:00:23 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
8db5e226
Parents:
b7985c5
Message:

2002-03-25 Eric Norum <norume@…>

PR 374/networking

  • Makefile.am, rtems/rtems_bsdnet.h, rtems/rtems_glue.c: The patch sent as part of PR270 got applied to the wrong place. The effect was that (1) startup was no faster than before and (2) malloc starvation messages came way too quickly. The attached patch fixes both these problems and also provides a mechanism for applications to handle malloc starvation conditions as they see fit.
  • rtems/rtems_bsdnet_malloc_starvation.c: New file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/rtems/rtems_bsdnet.h

    rb7985c5 r593616a8  
    183183int rtems_bsdnet_synchronize_ntp (int interval, rtems_task_priority priority);
    184184
     185/*
     186 * Callback to report BSD malloc starvation.
     187 * The default implementation just prints a message but an application
     188 * can provide its own version.
     189 */
     190void rtems_bsdnet_malloc_starvation(void);
     191
    185192#endif /* _RTEMS_BSDNET_ */
Note: See TracChangeset for help on using the changeset viewer.