Changeset 83333e9 in rtems


Ignore:
Timestamp:
Dec 6, 2002, 1:49:57 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e09c5c59
Parents:
2837a5e
Message:

2002-12-06 Joel Sherrill <joel@…>

  • src/malloc.c: Fixed code that incorrected did a disable dispatch instead of locking and unlocking the allocator mutex.
Location:
cpukit/libcsupport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    r2837a5e r83333e9  
     12002-12-06      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/malloc.c: Fixed code that incorrected did a disable dispatch
     4        instead of locking and unlocking the allocator mutex.
     5
    162002-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/libcsupport/src/malloc.c

    r2837a5e r83333e9  
    363363   Objects_Locations        location;
    364364 
     365  _RTEMS_Lock_allocator();                      /* to prevent deletion */
    365366   the_region = _Region_Get( RTEMS_Malloc_Heap, &location );
    366367   if ( location == OBJECTS_LOCAL )
    367368   {
    368369      _Heap_Walk( &the_region->Memory, source, printf_enabled );
    369       _Thread_Enable_dispatch();
    370370   }
     371  _RTEMS_Unlock_allocator();
    371372}
    372373
Note: See TracChangeset for help on using the changeset viewer.