source: rtems/cpukit/score/include/rtems/score/threadmp.h @ baff4da

4.104.114.84.95
Last change on this file since baff4da was baff4da, checked in by Joel Sherrill <joel.sherrill@…>, on 11/01/04 at 13:22:41

2004-11-01 Joel Sherrill <joel@…>

  • score/cpu/no_cpu/rtems/score/cpu.h, score/include/rtems/debug.h, score/include/rtems/seterr.h, score/include/rtems/system.h, score/include/rtems/score/address.h, score/include/rtems/score/apiext.h, score/include/rtems/score/apimutex.h, score/include/rtems/score/bitfield.h, score/include/rtems/score/chain.h, score/include/rtems/score/context.h, score/include/rtems/score/copyrt.h, score/include/rtems/score/coremsg.h, score/include/rtems/score/coremutex.h, score/include/rtems/score/coresem.h, score/include/rtems/score/heap.h, score/include/rtems/score/interr.h, score/include/rtems/score/isr.h, score/include/rtems/score/mpci.h, score/include/rtems/score/mppkt.h, score/include/rtems/score/objectmp.h, score/include/rtems/score/priority.h, score/include/rtems/score/stack.h, score/include/rtems/score/states.h, score/include/rtems/score/sysstate.h, score/include/rtems/score/thread.h, score/include/rtems/score/threadmp.h, score/include/rtems/score/threadq.h, score/include/rtems/score/tod.h, score/include/rtems/score/tqdata.h, score/include/rtems/score/userext.h, score/include/rtems/score/watchdog.h, score/include/rtems/score/wkspace.h, score/inline/rtems/score/address.inl, score/inline/rtems/score/chain.inl, score/inline/rtems/score/coremsg.inl, score/inline/rtems/score/coremutex.inl, score/inline/rtems/score/coresem.inl, score/inline/rtems/score/heap.inl, score/inline/rtems/score/isr.inl, score/inline/rtems/score/mppkt.inl, score/inline/rtems/score/objectmp.inl, score/inline/rtems/score/priority.inl, score/inline/rtems/score/stack.inl, score/inline/rtems/score/states.inl, score/inline/rtems/score/sysstate.inl, score/inline/rtems/score/thread.inl, score/inline/rtems/score/threadmp.inl, score/inline/rtems/score/tod.inl, score/inline/rtems/score/tqdata.inl, score/inline/rtems/score/userext.inl, score/inline/rtems/score/watchdog.inl, score/inline/rtems/score/wkspace.inl: Add Doxygen comments -- working modifications which are not complete and may have broken code. Committing so work and testing can proceed.
  • score/Doxyfile, score/mainpage.h: New files.
  • Property mode set to 100644
File size: 2.1 KB
Line 
1/**
2 *  @file threadmp.h
3 *
4 *  This include file contains the specification for all routines
5 *  and data specific to the multiprocessing portion of the thread package.
6 */
7
8/*
9 *  COPYRIGHT (c) 1989-2004.
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.com/license/LICENSE.
15 *
16 *  $Id$
17 */
18
19#ifndef __RTEMS_THREAD_MP_h
20#define __RTEMS_THREAD_MP_h
21
22/**
23 *  @defgroup ScoreThreadMP Thread Handler Multiprocessing Support
24 *
25 *  This group contains functionality which XXX
26 */
27/**@{*/
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33/** @brief _Thread_MP_Handler_initialization
34 *
35 *  This routine initializes the multiprocessing portion of the Thread Handler.
36 */
37void _Thread_MP_Handler_initialization (
38  uint32_t   maximum_proxies
39);
40/** @brief _Thread_MP_Allocate_proxy
41 *
42 *  This  allocates a proxy control block from
43 *  the inactive chain of free proxy control blocks.
44 *
45 *  @note This function returns a thread control pointer
46 *        because proxies are substitutes for remote threads.
47 */
48Thread_Control *_Thread_MP_Allocate_proxy (
49  States_Control the_state
50);
51
52/** @brief _Thread_MP_Find_proxy
53 *
54 *  This function removes the proxy control block for the specified
55 *  id from the active chain of proxy control blocks.
56 */
57Thread_Control *_Thread_MP_Find_proxy (
58  Objects_Id the_id
59);
60
61/** @brief Pointer to MP Thread Control Block
62 *
63 *  The following is used to determine when the multiprocessing receive
64 *  thread is executing so that a proxy can be allocated instead of
65 *  blocking the multiprocessing receive thread.
66 */
67SCORE_EXTERN Thread_Control *_Thread_MP_Receive;
68
69/* @brief Active Proxy Set
70 *
71 * The following chain is used to manage the active set proxies.
72 */
73SCORE_EXTERN Chain_Control _Thread_MP_Active_proxies;
74
75/** @brief Inactive Proxy Set
76 *
77 * The following chain is used to manage the inactive set of proxies.
78 */
79SCORE_EXTERN Chain_Control _Thread_MP_Inactive_proxies;
80
81#ifndef __RTEMS_APPLICATION__
82#include <rtems/score/threadmp.inl>
83#endif
84
85#ifdef __cplusplus
86}
87#endif
88
89/**@}*/
90
91#endif
92/* end of include file */
Note: See TracBrowser for help on using the repository browser.