Changeset 1db9567 in rtems


Ignore:
Timestamp:
Mar 1, 2016, 2:00:43 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f831eff
Parents:
d297c81d
git-author:
Sebastian Huber <sebastian.huber@…> (03/01/16 14:00:43)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/01/16 14:01:24)
Message:

sptests/spsysinit01: Fix for RTEMS_DEBUG

Update #2408.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/spsysinit01/init.c

    rd297c81d r1db9567  
    613613FIRST(RTEMS_SYSINIT_CLASSIC_USER_TASKS)
    614614{
     615  _Objects_Allocator_lock();
    615616  assert(_Objects_Active_count(&_RTEMS_tasks_Information.Objects) == 0);
     617  _Objects_Allocator_unlock();
    616618  next_step(CLASSIC_USER_TASKS_PRE);
    617619}
     
    619621LAST(RTEMS_SYSINIT_CLASSIC_USER_TASKS)
    620622{
     623  _Objects_Allocator_lock();
    621624  assert(_Objects_Active_count(&_RTEMS_tasks_Information.Objects) == 1);
     625  _Objects_Allocator_unlock();
    622626  next_step(CLASSIC_USER_TASKS_POST);
    623627}
     
    627631FIRST(RTEMS_SYSINIT_POSIX_USER_THREADS)
    628632{
     633  _Objects_Allocator_lock();
    629634  assert(_Objects_Active_count(&_POSIX_Threads_Information.Objects) == 0);
     635  _Objects_Allocator_unlock();
    630636  next_step(POSIX_USER_THREADS_PRE);
    631637}
     
    633639LAST(RTEMS_SYSINIT_POSIX_USER_THREADS)
    634640{
     641  _Objects_Allocator_lock();
    635642  assert(_Objects_Active_count(&_POSIX_Threads_Information.Objects) == 1);
     643  _Objects_Allocator_unlock();
    636644  next_step(POSIX_USER_THREADS_POST);
    637645}
Note: See TracChangeset for help on using the changeset viewer.