5
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2016 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.org/license/LICENSE. |
---|
13 | */ |
---|
14 | |
---|
15 | #if HAVE_CONFIG_H |
---|
16 | #include "config.h" |
---|
17 | #endif |
---|
18 | |
---|
19 | #include <rtems/rtems/tasks.h> |
---|
20 | #include <rtems/score/threadimpl.h> |
---|
21 | #include <rtems/score/objectimpl.h> |
---|
22 | |
---|
23 | void rtems_task_iterate( |
---|
24 | rtems_task_visitor visitor, |
---|
25 | void *arg |
---|
26 | ) |
---|
27 | { |
---|
28 | _Objects_Allocator_lock(); |
---|
29 | _Thread_Iterate( visitor, arg ); |
---|
30 | _Objects_Allocator_unlock(); |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.