亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? tx_api.h

?? Threadx 模版的源代碼
?? H
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
/**************************************************************************/ 
/*                                                                        */ 
/*            Copyright (c) 1996-2003 by Express Logic Inc.               */ 
/*                                                                        */ 
/*  This software is copyrighted by and is the sole property of Express   */ 
/*  Logic, Inc.  All rights, title, ownership, or other interests         */ 
/*  in the software remain the property of Express Logic, Inc.  This      */ 
/*  software may only be used in accordance with the corresponding        */ 
/*  license agreement.  Any unauthorized use, duplication, transmission,  */ 
/*  distribution, or disclosure of this software is expressly forbidden.  */ 
/*                                                                        */
/*  This Copyright notice may not be removed or modified without prior    */ 
/*  written consent of Express Logic, Inc.                                */ 
/*                                                                        */ 
/*  Express Logic, Inc. reserves the right to modify this software        */ 
/*  without notice.                                                       */ 
/*                                                                        */ 
/*  Express Logic, Inc.                     info@expresslogic.com         */
/*  11423 West Bernardo Court               http://www.expresslogic.com   */
/*  San Diego, CA  92127                                                  */
/*                                                                        */
/**************************************************************************/


/**************************************************************************/
/**************************************************************************/
/**                                                                       */ 
/** ThreadX Component                                                     */
/**                                                                       */
/**   Application Interface (API)                                         */
/**                                                                       */
/**************************************************************************/
/**************************************************************************/


/**************************************************************************/ 
/*                                                                        */ 
/*  APPLICATION INTERFACE DEFINITION                       RELEASE        */ 
/*                                                                        */ 
/*    tx_api.h                                            PORTABLE C      */ 
/*                                                           4.0b         */ 
/*  AUTHOR                                                                */ 
/*                                                                        */ 
/*    William E. Lamie, Express Logic, Inc.                               */ 
/*                                                                        */ 
/*  DESCRIPTION                                                           */ 
/*                                                                        */ 
/*    This file defines the basic Application Interface (API) to the      */ 
/*    high-performance ThreadX real-time kernel.  All service prototypes  */ 
/*    and data structure definitions are defined in this file.            */ 
/*    Please note that basic data type definitions and other architecture-*/ 
/*    specific information is contained in the file tx_port.h.            */ 
/*                                                                        */ 
/*  RELEASE HISTORY                                                       */ 
/*                                                                        */ 
/*    DATE              NAME                      DESCRIPTION             */ 
/*                                                                        */ 
/*  12-31-1996     William E. Lamie         Initial Version 3.0           */ 
/*  07-04-1997     William E. Lamie         Added port-specific extension */ 
/*                                            define to thread control    */ 
/*                                            block for port-specific     */ 
/*                                            information, resulting in   */ 
/*                                            version 3.0a.               */ 
/*  11-11-1997     William E. Lamie         Modified several comments     */ 
/*                                            and added return value for  */ 
/*                                            lifting delayed suspend     */ 
/*                                            condition by the thread     */ 
/*                                            resume service, resulting   */ 
/*                                            in version 3.0b.            */ 
/*  01-01-1999     William E. Lamie         Modified comment(s),          */ 
/*                                            resulting in version 3.0e.  */ 
/*  11-01-1999     William E. Lamie         Modified comment(s), added    */ 
/*                                            logic to bring in the event */ 
/*                                            logging include file, and   */ 
/*                                            added a member to thread    */ 
/*                                            control block for compiler  */ 
/*                                            usage, resulting in         */ 
/*                                            version 3.0f.               */ 
/*  01-28-2001     William E. Lamie         Modified comment(s), added    */ 
/*                                            TX_MUTEX object, added new  */ 
/*                                            members to the thread       */ 
/*                                            control block, and          */ 
/*                                            added new service calls,    */ 
/*                                            resulting in version 4.0.   */ 
/*  07-15-2002     William E. Lamie         Modified comment(s), added    */ 
/*                                            logic to select API runtime */
/*                                            errors, declared            */ 
/*                                            tx_application_define as    */ 
/*                                            extern "C", and changed     */ 
/*                                            constant TX_FOREVER to      */ 
/*                                            TX_LOOP_FOREVER, resulting  */ 
/*                                            in version 4.0a.            */ 
/*  01-01-2003     William E. Lamie         Modified comment(s),          */ 
/*                                            resulting in version 4.0b.  */ 
/*                                                                        */ 
/**************************************************************************/ 

#ifndef  TX_API_H
#define  TX_API_H

/* Determine if a C++ compiler is being used.  If so, ensure that standard
   C is used to process the API information.  */

#ifdef   __cplusplus

/* Yes, C++ compiler is present.  Use standard C.  */
extern   "C" {

#endif


/* Include the port-specific data type file.  */
#include "tx_port.h"


/* Define basic constants for the ThreadX kernel.  */


/* API input parameters and general constants.  */

#define TX_NO_WAIT          0
#define TX_WAIT_FOREVER     0xFFFFFFFFUL
#define TX_AND              2
#define TX_AND_CLEAR        3
#define TX_OR               0
#define TX_OR_CLEAR         1
#define TX_1_ULONG          1
#define TX_2_ULONG          2
#define TX_4_ULONG          4
#define TX_8_ULONG          8
#define TX_16_ULONG         16
#define TX_NO_TIME_SLICE    0
#define TX_MAX_PRIORITIES   32
#define TX_AUTO_START       1
#define TX_DONT_START       0
#define TX_AUTO_ACTIVATE    1
#define TX_NO_ACTIVATE      0
#define TX_TRUE             1
#define TX_FALSE            0
#define TX_NULL             0
#define TX_LOOP_FOREVER     1
#define TX_INHERIT          1
#define TX_NO_INHERIT       0


/* Thread execution state values.  */

#define TX_READY            0
#define TX_COMPLETED        1
#define TX_TERMINATED       2
#define TX_SUSPENDED        3   
#define TX_SLEEP            4
#define TX_QUEUE_SUSP       5
#define TX_SEMAPHORE_SUSP   6
#define TX_EVENT_FLAG       7
#define TX_BLOCK_MEMORY     8
#define TX_BYTE_MEMORY      9
#define TX_IO_DRIVER        10
#define TX_FILE             11
#define TX_TCP_IP           12
#define TX_MUTEX_SUSP       13


/* API return values.  */

#define TX_SUCCESS          0x00
#define TX_DELETED          0x01
#define TX_NO_MEMORY        0x10
#define TX_POOL_ERROR       0x02
#define TX_PTR_ERROR        0x03
#define TX_WAIT_ERROR       0x04
#define TX_SIZE_ERROR       0x05
#define TX_GROUP_ERROR      0x06
#define TX_NO_EVENTS        0x07
#define TX_OPTION_ERROR     0x08
#define TX_QUEUE_ERROR      0x09
#define TX_QUEUE_EMPTY      0x0A
#define TX_QUEUE_FULL       0x0B
#define TX_SEMAPHORE_ERROR  0x0C
#define TX_NO_INSTANCE      0x0D
#define TX_THREAD_ERROR     0x0E
#define TX_PRIORITY_ERROR   0x0F
#define TX_START_ERROR      0x10
#define TX_DELETE_ERROR     0x11
#define TX_RESUME_ERROR     0x12
#define TX_CALLER_ERROR     0x13
#define TX_SUSPEND_ERROR    0x14
#define TX_TIMER_ERROR      0x15
#define TX_TICK_ERROR       0x16
#define TX_ACTIVATE_ERROR   0x17
#define TX_THRESH_ERROR     0x18
#define TX_SUSPEND_LIFTED   0x19
#define TX_WAIT_ABORTED     0x1A
#define TX_WAIT_ABORT_ERROR 0x1B
#define TX_MUTEX_ERROR      0x1C
#define TX_NOT_AVAILABLE    0x1D
#define TX_NOT_OWNED        0x1E
#define TX_INHERIT_ERROR    0x1F


/* Define the control block definitions for all system objects.  */


/* Define the basic timer management structures.  These are the structures 
   used to manage thread sleep, timeout, and user timer requests.  */

/* Define the common internal timer control block.  */

typedef  struct TX_INTERNAL_TIMER_STRUCT
{

    /* Define the remaining ticks and re-initialization tick value.  */
    ULONG       tx_remaining_ticks;
    ULONG       tx_re_initialize_ticks;

    /* Need to define remaining ticks, type, next and previous pointers, etc.  */
    VOID        (*tx_timeout_function)(ULONG);
    ULONG       tx_timeout_param;


    /* Define the next and previous internal link pointers for active
       internal timers.  */
    struct TX_INTERNAL_TIMER_STRUCT
                *tx_active_next,
                *tx_active_previous;

    /* Keep track of the pointer to the head of this list as well.  */
    struct TX_INTERNAL_TIMER_STRUCT
                **tx_list_head;
} TX_INTERNAL_TIMER;


/* Define the timer structure utilized by the application.  */

typedef  struct TX_TIMER_STRUCT
{

    /* Define the timer ID used for error checking.  */
    ULONG       tx_timer_id;

    /* Define the timer's name.  */
    CHAR_PTR    tx_timer_name;

    /* Define the expiration routine, parameter, initial expiration, and
       reschedule expiration.  */

    /* Define the actual contents of the timer.  This is the block that
       is used in the actual timer expiration processing.  */
    TX_INTERNAL_TIMER   tx_timer_internal;

    /* Define the pointers for the created list.  */
    struct TX_TIMER_STRUCT  
                *tx_timer_created_next,
                *tx_timer_created_previous;
} TX_TIMER;

typedef TX_TIMER *      TX_TIMER_PTR;


/* ThreadX thread control block structure follows.  Additional fields
   can be added providing they are added after the information that is
   referenced in the port-specific assembly code.  */

typedef  struct TX_THREAD_STRUCT
{
    /* The first section of the control block contains critical
       information that is referenced by the port-specific 
       assembly language code.  Any changes in this section could
       necessitate changes in the assembly language.  */
    ULONG       tx_thread_id;           /* Control block ID         */
    ULONG       tx_run_count;           /* Thread's run counter     */
    VOID_PTR    tx_stack_ptr;           /* Thread's stack pointer   */
    VOID_PTR    tx_stack_start;         /* Stack starting address   */
    VOID_PTR    tx_stack_end;           /* Stack ending address     */
    ULONG       tx_stack_size;          /* Stack size               */
    ULONG       tx_time_slice;          /* Current time-slice       */
    ULONG       tx_new_time_slice;      /* New time-slice           */

    /* Define pointers to the next and previous ready threads.  */ 
    struct TX_THREAD_STRUCT 
                *tx_ready_next,      
                *tx_ready_previous;

    /* Define the port extension field.  This typically is defined 
       to white space, but some ports of ThreadX may need to have 
       additional fields in the thread control block.  This is 
       defined in the file tx_port.h.  */
    TX_THREAD_PORT_EXTENSION
  
    /***************************************************************/  
         
    /* Nothing after this point is referenced by the target-specific

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产亚洲人成网站| 久久亚洲二区三区| 不卡电影一区二区三区| 国产米奇在线777精品观看| 激情文学综合网| 激情亚洲综合在线| 国产一区二区伦理片| 国内精品自线一区二区三区视频| 日韩影院在线观看| 青青草精品视频| 久久精品国内一区二区三区| 极品少妇xxxx精品少妇| 国产成人av网站| 成人h精品动漫一区二区三区| av在线综合网| 欧美日韩一区二区欧美激情| 7777精品伊人久久久大香线蕉经典版下载 | 欧美日韩一区二区电影| 91精品国产综合久久福利软件| 日韩欧美一区二区视频| 国产蜜臀av在线一区二区三区| 国产精品美日韩| 亚洲一区视频在线| 美国欧美日韩国产在线播放| 福利视频网站一区二区三区| 色综合久久久久综合体| 日韩欧美国产午夜精品| 国产精品福利一区| 日韩成人一级大片| 懂色av中文一区二区三区| 91福利在线导航| 日韩精品一区二区三区四区视频| 欧美国产禁国产网站cc| 午夜精品福利一区二区蜜股av| 国产在线视视频有精品| 色婷婷av一区二区三区大白胸 | 成人一二三区视频| 欧美猛男男办公室激情| 国产精品私人影院| 蜜臀久久99精品久久久久宅男| 波波电影院一区二区三区| 欧美一区二区三区的| 亚洲欧洲性图库| 国产综合一区二区| 欧美体内she精高潮| 日本一区二区电影| 捆绑调教美女网站视频一区| 91亚洲永久精品| 久久久亚洲精华液精华液精华液 | 777欧美精品| 1区2区3区国产精品| 国产原创一区二区| 欧美一区二区视频免费观看| 国产精品高清亚洲| 国产精品911| 日韩一区二区三区免费看| 一区二区三区日本| 9色porny自拍视频一区二区| 2022国产精品视频| 男人操女人的视频在线观看欧美| 在线观看视频欧美| 亚洲色图欧美激情| 成人av免费在线观看| xnxx国产精品| 久久99国产精品久久| 日韩欧美亚洲一区二区| 日韩制服丝袜先锋影音| 色菇凉天天综合网| 一区二区国产盗摄色噜噜| eeuss国产一区二区三区| 国产三级精品三级| 国产99久久久国产精品免费看| 精品电影一区二区| 狠狠色丁香婷婷综合久久片| 精品久久久久99| 国内精品写真在线观看| 欧美一区二区在线免费播放 | 国产盗摄精品一区二区三区在线| 日韩欧美卡一卡二| 久久精品噜噜噜成人88aⅴ| 日韩三级电影网址| 国产综合久久久久久鬼色| 久久女同精品一区二区| 国产精品亚洲午夜一区二区三区| 久久久五月婷婷| 成人手机电影网| 亚洲欧美另类在线| 欧美日韩一区不卡| 精品一区二区三区在线观看国产| 精品国产一区久久| 国产99精品在线观看| 国产精品第五页| 91视频免费观看| 免费视频最近日韩| 国产夜色精品一区二区av| 成人av小说网| 亚洲第一搞黄网站| 精品久久人人做人人爽| 不卡欧美aaaaa| 日一区二区三区| 久久亚洲二区三区| 欧美在线视频全部完| 男女男精品网站| 国产精品毛片大码女人| 欧美自拍偷拍一区| 国产福利精品导航| 一区二区在线观看不卡| 日韩亚洲欧美在线| 99久久免费视频.com| 视频一区欧美日韩| 国产精品午夜免费| 91精品国产高清一区二区三区 | 欧美精品欧美精品系列| 国产一区二区福利视频| 亚洲免费观看视频| 久久蜜臀精品av| 精品视频色一区| 成人免费看视频| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产精品嫩草影院com| 在线综合亚洲欧美在线视频| 波多野结衣在线一区| 午夜精品免费在线| 亚洲日本乱码在线观看| 精品久久久久久久久久久久久久久| 色吧成人激情小说| 成人丝袜视频网| 韩国欧美国产1区| 首页欧美精品中文字幕| 一区二区三区日韩欧美| 欧美国产丝袜视频| 欧美xxx久久| 日韩一区二区三区高清免费看看| 色综合天天做天天爱| 国产成人午夜99999| 精品在线播放免费| 强制捆绑调教一区二区| 丝袜美腿亚洲色图| 亚洲综合在线电影| 亚洲乱码中文字幕综合| 国产精品久久久久久久久久久免费看 | 亚洲丝袜另类动漫二区| 日韩欧美国产小视频| 正在播放亚洲一区| 欧美色区777第一页| 在线观看免费亚洲| 在线观看日韩一区| 欧美午夜一区二区| 欧美亚洲另类激情小说| 一本色道**综合亚洲精品蜜桃冫| 成人少妇影院yyyy| 成人的网站免费观看| 成人免费看的视频| 成人免费视频免费观看| 成人一区二区三区视频在线观看| 成人在线视频一区| 成人动漫视频在线| 91精品91久久久中77777| 精品视频免费看| 日韩一级完整毛片| 久久亚洲欧美国产精品乐播| 久久综合久久综合九色| 国产欧美日韩亚州综合 | 蜜桃视频一区二区三区| 美日韩一级片在线观看| 精品中文字幕一区二区| 国产成人免费视频网站高清观看视频 | 精品一区二区三区在线播放| 国产一区美女在线| 懂色av一区二区三区免费观看| 99久久婷婷国产综合精品电影| 色婷婷综合激情| 欧美午夜在线一二页| 欧美一二三区精品| 国产欧美日本一区二区三区| 国产精品视频你懂的| 最好看的中文字幕久久| 亚洲午夜精品久久久久久久久| 日韩av一区二区在线影视| 国产精品一二三四| 色8久久人人97超碰香蕉987| 在线播放视频一区| 欧美国产一区视频在线观看| 亚洲国产裸拍裸体视频在线观看乱了 | 亚洲精品福利视频网站| 蜜臀av在线播放一区二区三区| 国产精品综合一区二区| 欧美日韩一级二级三级| 久久久噜噜噜久噜久久综合| 亚洲欧美日韩精品久久久久| 美女脱光内衣内裤视频久久网站| 福利电影一区二区三区| 欧美日韩久久久| 国产精品久久三| 青娱乐精品在线视频| 不卡大黄网站免费看| 欧美一级电影网站| 亚洲视频在线一区二区| 九九视频精品免费| 在线免费av一区|