RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
statusimpl.h
Go to the documentation of this file.
1
9/* COPYRIGHT (c) 1989-2008.
10 * On-Line Applications Research Corporation (OAR).
11 *
12 * The license and distribution terms for this file may be
13 * found in the file LICENSE in this distribution or at
14 * http://www.rtems.org/license/LICENSE.
15 */
16
17#ifndef _RTEMS_RTEMS_STATUSIMPL_H
18#define _RTEMS_RTEMS_STATUSIMPL_H
19
20#include <rtems/rtems/status.h>
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
42
44 Status_Control status
45)
46{
47 return (rtems_status_code) STATUS_GET_CLASSIC( status );
48}
49
50RTEMS_INLINE_ROUTINE rtems_status_code _Status_Get_after_wait(
51 const Thread_Control *executing
52)
53{
54 return _Status_Get( _Thread_Wait_get_status( executing ) );
55}
56
59#ifdef __cplusplus
60}
61#endif
62
63#endif
64/* end of include file */
const rtems_status_code _Status_Object_name_errors_to_status[]
Status Object Name Errors to Status Array.
Definition: status.c:18
rtems_status_code
Classic API Status.
Definition: status.h:43
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:66
RTEMS_INLINE_ROUTINE Status_Control _Thread_Wait_get_status(const Thread_Control *the_thread)
Get the status of the wait return code of the thread.
Definition: threadimpl.h:2328
Definition: thread.h:732
Inlined Routines from the Thread Handler.