4.115
Last change
on this file since 40883773 was
40883773,
checked in by Sebastian Huber <sebastian.huber@…>, on 06/18/13 at 12:57:19
|
score: Add _Assert_Thread_dispatching_repressed()
|
-
Property mode set to
100644
|
File size:
657 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2013 embedded brains GmbH. All rights reserved. |
---|
3 | * |
---|
4 | * embedded brains GmbH |
---|
5 | * Dornierstr. 4 |
---|
6 | * 82178 Puchheim |
---|
7 | * Germany |
---|
8 | * <rtems@embedded-brains.de> |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.rtems.com/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #if HAVE_CONFIG_H |
---|
16 | #include "config.h" |
---|
17 | #endif |
---|
18 | |
---|
19 | #include <rtems/score/assert.h> |
---|
20 | #include <rtems/score/isr.h> |
---|
21 | #include <rtems/score/threaddispatch.h> |
---|
22 | |
---|
23 | #if defined( RTEMS_DEBUG ) |
---|
24 | void _Assert_Thread_dispatching_repressed( void ) |
---|
25 | { |
---|
26 | _Assert( !_Thread_Dispatch_is_enabled() || _ISR_Get_level() != 0 ); |
---|
27 | } |
---|
28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.