Changeset 8bcb9e2 in rtems


Ignore:
Timestamp:
Jun 15, 2009, 3:49:12 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
dba7398
Parents:
d09de3d
Message:

2009-06-15 Joel Sherrill <joel.sherrill@…>

  • umon/umonrtemsglue.c: Add flag to ensure that it umon connection is initialized twice, it is safe.
Location:
c/src/lib/libbsp/shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/ChangeLog

    rd09de3d r8bcb9e2  
     12009-06-15      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * umon/umonrtemsglue.c: Add flag to ensure that it umon connection is
     4        initialized twice, it is safe.
     5
    162009-06-15      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • c/src/lib/libbsp/shared/umon/umonrtemsglue.c

    rd09de3d r8bcb9e2  
    1414/* XXX eventually add lock/unlock methods */
    1515
     16static int rtems_umon_connected = 0;
     17
    1618void rtems_umon_connect(void)
    1719{
    1820  void *moncomptr;
     21
     22  if ( rtems_umon_connected )
     23    return;
     24
     25  rtems_umon_connected = 1;
    1926
    2027  moncomptr = rtems_bsp_get_umon_monptr();
Note: See TracChangeset for help on using the changeset viewer.