📄 threadmp.h
字号:
/* threadmp.h * * This include file contains the specification for all routines * and data specific to the multiprocessing portion of the thread package. * * COPYRIGHT (c) 1989-1999. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. * * $Id: threadmp.h,v 1.12.6.1 2003/09/04 18:55:05 joel Exp $ */#ifndef __RTEMS_THREAD_MP_h#define __RTEMS_THREAD_MP_h#ifdef __cplusplusextern "C" {#endif/* * _Thread_MP_Handler_initialization * * DESCRIPTION: * * This routine initializes the multiprocessing portion of the Thread Handler. */void _Thread_MP_Handler_initialization ( unsigned32 maximum_proxies);/* * _Thread_MP_Allocate_proxy * * DESCRIPTION: * * This allocates a proxy control block from * the inactive chain of free proxy control blocks. * * NOTE: This function returns a thread control pointer * because proxies are substitutes for remote threads. */Thread_Control *_Thread_MP_Allocate_proxy ( States_Control the_state);/* * _Thread_MP_Find_proxy * * DESCRIPTION: * * This function removes the proxy control block for the specified * id from the active chain of proxy control blocks. */Thread_Control *_Thread_MP_Find_proxy ( Objects_Id the_id);/* * The following is used to determine when the multiprocessing receive * thread is executing so that a proxy can be allocated instead of * blocking the multiprocessing receive thread. */SCORE_EXTERN Thread_Control *_Thread_MP_Receive;/* * The following chains are used to manage proxies. */SCORE_EXTERN Chain_Control _Thread_MP_Active_proxies;SCORE_EXTERN Chain_Control _Thread_MP_Inactive_proxies;#ifndef __RTEMS_APPLICATION__#include <rtems/score/threadmp.inl>#endif#ifdef __cplusplus}#endif#endif/* end of include file */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -