Changeset 6196ded in rtems


Ignore:
Timestamp:
Apr 28, 2010, 4:37:20 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
af2af2b4
Parents:
cb930b4
Message:

2010-04-22 Sebastian Huber <Sebastian.Huber@…>

  • support/include/tmacros.h: Changed check_dispatch_disable_level() to treat all non-zero values of _Thread_Dispatch_disable_level equally.
Location:
testsuites
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/ChangeLog

    rcb930b4 r6196ded  
     12010-04-22      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
     2
     3        * support/include/tmacros.h: Changed check_dispatch_disable_level() to
     4        treat all non-zero values of _Thread_Dispatch_disable_level equally.
     5
    162009-12-08      Glenn Humphrey <glenn.humphrey@OARcorp.com>
    27
  • testsuites/support/include/tmacros.h

    rcb930b4 r6196ded  
    4848#define check_dispatch_disable_level( _expect ) \
    4949  do { \
    50     if ( (_expect) != -1 && _Thread_Dispatch_disable_level != (_expect) ) { \
     50    if ( (_expect) != -1 \
     51           && ((_Thread_Dispatch_disable_level == 0 && (_expect) != 0) \
     52             || (_Thread_Dispatch_disable_level != 0 && (_expect) == 0)) \
     53    ) { \
    5154      printk( \
    5255        "\n_Thread_Dispatch_disable_level is (%" PRId32 \
Note: See TracChangeset for help on using the changeset viewer.