source: rtems/cpukit/score/src/threadenabledispatch.c @ 25f5730f

4.115
Last change on this file since 25f5730f was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 652 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Enable Dispatching of Threads
5 *
6 * @ingroup ScoreThread
7 */
8
9/*
10 *   _Thread_Enable_dispatch
11 *
12 *
13 *  COPYRIGHT (c) 1989-2011.
14 *  On-Line Applications Research Corporation (OAR).
15 *
16 *  The license and distribution terms for this file may be
17 *  found in the file LICENSE in this distribution or at
18 *  http://www.rtems.org/license/LICENSE.
19 */
20
21#if HAVE_CONFIG_H
22#include "config.h"
23#endif
24
25#include <rtems/score/threaddispatch.h>
26
27#if defined (__THREAD_DO_NOT_INLINE_ENABLE_DISPATCH__ )
28void _Thread_Enable_dispatch( void )
29{
30  if ( _Thread_Dispatch_decrement_disable_level() )
31    return;
32  _Thread_Dispatch();
33}
34#endif
Note: See TracBrowser for help on using the repository browser.