semaphore.h
来自「开放源码的嵌入式开发环境」· C头文件 代码 · 共 63 行
H
63 行
/** * @file rtems/itron/semaphore.h *//* * 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: semaphore.h,v 1.7 2005/01/28 11:07:14 ralf Exp $ */#ifndef _RTEMS_ITRON_SEMAPHORE_H#define _RTEMS_ITRON_SEMAPHORE_H#ifdef __cplusplusextern "C" {#endif#include <rtems/itron/object.h>#include <rtems/score/coresem.h>/* * The following defines the control block used to manage each semaphore. */typedef struct { ITRON_Objects_Control Object; boolean is_priority_blocking; CORE_semaphore_Control semaphore;} ITRON_Semaphore_Control;/* * The following defines the information control block used to manage * this class of objects. */ITRON_EXTERN Objects_Information _ITRON_Semaphore_Information;/* * _ITRON_Semaphore_Manager_initialization * * DESCRIPTION: * * This routine performs the initialization necessary for this manager. */void _ITRON_Semaphore_Manager_initialization( uint32_t maximum_semaphores);#include <rtems/itron/semaphore.inl>#ifdef __cplusplus}#endif#endif/* end of include file */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?