⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sp03.adb

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 ADB
字号:
----  MAIN / BODY----  DESCRIPTION:----  This is the entry point for Test SP03 of the Single Processor Test Suite.----  DEPENDENCIES: ----  ----  COPYRIGHT (c) 1989-1997.--  On-Line Applications Research Corporation (OAR).----  The license and distribution terms for this file may in--  the file LICENSE in this distribution or at--  http://www.rtems.com/license/LICENSE.----  $Id: sp03.adb,v 1.3.4.2 2003/09/04 18:43:37 joel Exp $--with RTEMS;with SPTEST;with TEST_SUPPORT;procedure SP03 is  INIT_ID : RTEMS.ID;  STATUS  : RTEMS.STATUS_CODES;begin   RTEMS.TASK_CREATE(      RTEMS.BUILD_NAME(  'I', 'N', 'I', 'T' ),      1,      RTEMS.MINIMUM_STACK_SIZE,      RTEMS.NO_PREEMPT,      RTEMS.DEFAULT_ATTRIBUTES,      INIT_ID,      STATUS   );   TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_CREATE OF INIT" );   RTEMS.TASK_START(      INIT_ID,      SPTEST.INIT'ACCESS,      0,      STATUS   );   TEST_SUPPORT.DIRECTIVE_FAILED( STATUS, "TASK_START OF INIT" );   loop      delay 120.0;   end loop;end SP03;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -