source: rtems-schedsim/schedsim/shell/schedsim_priority/printheir_executing.c @ b38dbcc

Last change on this file since b38dbcc was b38dbcc, checked in by Joel Sherrill <joel.sherrill@…>, on May 14, 2014 at 2:55:21 PM

Many files: rm white space at EOL and EOF

  • Property mode set to 100644
File size: 643 bytes
Line 
1/*
2 *  printheir_executing
3 *
4 *  COPYRIGHT (c) 1989-2013.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 */
11
12#include <stdio.h>
13#include <rtems.h>
14
15void PRINT_EXECUTING() {
16  printf(
17    "  Thread Executing: 0x%08x priority=%ld\n",
18    _Thread_Executing->Object.id,
19    (long) _Thread_Executing->current_priority
20  );
21}
22
23void PRINT_HEIR() {
24  printf(
25    "  Thread Heir: 0x%08x priority=%ld\n",
26    _Thread_Heir->Object.id,
27    (long) _Thread_Heir->current_priority
28  );
29}
Note: See TracBrowser for help on using the repository browser.