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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? thread.h

?? rtai-3.1-test3的源代碼(Real-Time Application Interface )
?? H
字號:
/* * Copyright (C) 2001,2002,2003 Philippe Gerum <rpm@xenomai.org>. * * Xenomai is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Xenomai is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Xenomai; if not, write to the Free Software Foundation, * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * As a special exception, the RTAI project gives permission * for additional uses of the text contained in its release of * Xenomai. * * The exception is that, if you link the Xenomai libraries with other * files to produce an executable, this does not by itself cause the * resulting executable to be covered by the GNU General Public License. * Your use of that executable is in no way restricted on account of * linking the Xenomai libraries code into it. * * This exception does not however invalidate any other reasons why * the executable file might be covered by the GNU General Public * License. * * This exception applies only to the code released by the * RTAI project under the name Xenomai.  If you copy code from other * RTAI project releases into a copy of Xenomai, as the General Public * License permits, the exception does not apply to the code that you * add in this way.  To avoid misleading anyone as to the status of * such modified files, you must delete this exception notice from * them. * * If you write modifications of your own for Xenomai, it is your * choice whether to permit this exception to apply to your * modifications. If you do not wish that, delete this exception * notice. */#ifndef _xenomai_thread_h#define _xenomai_thread_h#include "xenomai/timer.h"/* Status flags */#define XNSUSP    0x00000001	/* Suspended */#define XNPEND    0x00000002	/* Sleep-wait for a resource */#define XNDELAY   0x00000004	/* Delayed */#define XNREADY   0x00000008	/* Linked to the ready queue */#define XNDORMANT 0x00000010	/* In startable state */#define XNWMUTEX  0x00000020	/* Ready-wait for a kernel mutex */#define XNFROZEN  0x00000040	/* Frozen by debugger */#define XNZOMBIE  0x00000080	/* Self-deleting running thread */#define XNRESTART 0x00000100	/* Restarting thread */#define XNSTARTED 0x00000200	/* Can be restarted */#define XNRELAX   0x00000400	/* Relaxed scheduling mode (a blocking bit) */#define XNAUTOSW  0x00000800	/* Auto-switch to RTAI on return from Linux */#define XNTIMEO   0x00001000	/* Woken up due to a timeout condition */#define XNRMID    0x00002000	/* Pending on a removed resource */#define XNBREAK   0x00004000	/* Forcibly woken up from a wait state */#define XNBOOST   0x00008000	/* Undergoes regular PIP boost */#define XNSYSSW   0x00010000	/* Migration due to syscall handling *//* Mode flags. */#define XNLOCK    0x00020000	/* Not preemptable */#define XNRRB     0x00040000	/* Undergoes a round-robin scheduling */#define XNASDI    0x00080000	/* ASR are disabled */#define XNFPU     0x00100000	/* Thread uses FPU */#define XNISVC    0x00200000	/* Interrupt svc thread -- Don't freeze */#define XNSHADOW  0x00400000	/* Shadow thread */#define XNROOT    0x00800000	/* Root thread (i.e. Linux/IDLE) */#define XNTHREAD_BLOCK_BITS  (XNSUSP|XNPEND|XNDELAY|XNDORMANT|XNFROZEN|XNRELAX)#define XNTHREAD_MODE_BITS   (XNLOCK|XNRRB|XNASDI)#define XNTHREAD_SYSTEM_BITS (XNISVC|XNROOT)/* These flags are available to the real-time interfaces */#define XNTHREAD_SPARE0  0x10000000#define XNTHREAD_SPARE1  0x20000000#define XNTHREAD_SPARE2  0x40000000#define XNTHREAD_SPARE3  0x80000000#define XNRUNNING  XNTHREAD_SPARE0	/* Pseudo-status (must not conflict with system bits) */#define XNDELETED  XNTHREAD_SPARE1	/* idem. */#define XNTHREAD_INVALID_ASR  ((void (*)(xnsigmask_t))0)#define XNTHREAD_SHADOW_SIGKILL  0x1struct xnsched;struct xnsynch;struct xnmutex;typedef void (*xnasr_t)(xnsigmask_t sigs);typedef struct xnthread {    xnarchtcb_t tcb;		/* Architecture-dependent block -- Must be first */    xnflags_t status;		/* Thread status flags */    struct xnsched *sched;	/* Thread scheduler */    int bprio;			/* Base priority (before PIP boost) */    int cprio;			/* Current priority */    unsigned magic;		/* Skin magic. */    char name[XNOBJECT_NAME_LEN]; /* Symbolic name of thread */    xnticks_t rrperiod;		/* Allotted round-robin period (ticks) */    xnticks_t rrcredit;		/* Remaining round-robin time credit (ticks) */    xnholder_t slink;		/* Thread holder in suspend queue */    xnpholder_t rlink;		/* Thread holder in ready queue */    xnpholder_t plink;		/* Thread holder in synchronization queue(s) */    xnholder_t glink;		/* Thread holder in global queue *//* We don't want side-effects on laddr here! */#define link2thread(laddr,link) \((xnthread_t *)(((char *)laddr) - (int)(&((xnthread_t *)0)->link)))    xnpqueue_t claimq;		/* Owned resources claimed by others (PIP) */    struct xnsynch *wchan;	/* Resource the thread pends on */    xntimer_t timer;		/* Delay timer */    xntimer_t atimer;		/* Asynchronous timer (shadow only) */    xnsigmask_t signals;	/* Pending signals */    xnasr_t asr;		/* Asynchronous service routine */    xnflags_t asrmode;		/* Thread's mode for ASR */    int asrimask;		/* Thread's interrupt mask for ASR */    unsigned asrlevel;		/* ASR execution level (ASRs are reentrant) */    int imask;			/* Initial interrupt mask */    int imode;			/* Initial mode */    int iprio;			/* Initial priority */    xntime_t stime;		/* Start time */    void (*entry)(void *cookie); /* Thread entry routine */    void *cookie;		/* Cookie to pass to the entry routine */    void *extinfo;		/* Extended information -- user-defined */    void *adcookie;		/* Arch-dependent system cookie. */    XNARCH_DECL_DISPLAY_CONTEXT();} xnthread_t;#define XNHOOK_THREAD_START  1#define XNHOOK_THREAD_SWITCH 2#define XNHOOK_THREAD_DELETE 3typedef struct xnhook {    xnholder_t link;#define link2hook(laddr) \((xnhook_t *)(((char *)laddr) - (int)(&((xnhook_t *)0)->link)))    void (*routine)(xnthread_t *thread);} xnhook_t;#define xnthread_name(thread)              ((thread)->name)#define xnthread_sched(thread)             ((thread)->sched)#define xnthread_start_time(thread)        ((thread)->stime)#define xnthread_status_flags(thread)      ((thread)->status)#define xnthread_test_flags(thread,flags)  testbits((thread)->status,flags)#define xnthread_set_flags(thread,flags)   setbits((thread)->status,flags)#define xnthread_clear_flags(thread,flags) clrbits((thread)->status,flags)#define xnthread_initial_priority(thread)  ((thread)->iprio)#define xnthread_base_priority(thread)     ((thread)->bprio)#define xnthread_current_priority(thread)  ((thread)->cprio)#define xnthread_time_slice(thread)        ((thread)->rrperiod)#define xnthread_time_credit(thread)       ((thread)->rrcredit)#define xnthread_archtcb(thread)           (&((thread)->tcb))#define xnthread_asr_level(thread)         ((thread)->asrlevel)#define xnthread_pending_signals(thread)   ((thread)->signals)#define xnthread_timeout(thread)           (xntimer_date(&(thread)->timer) - nkpod->jiffies)#define xnthread_stack_size(thread)        xnarch_stack_size(xnthread_archtcb(thread))#define xnthread_extended_info(thread)     ((thread)->extinfo)#define xnthread_magic(thread)             ((thread)->magic)#ifdef __cplusplusextern "C" {#endifint xnthread_init(xnthread_t *thread,		  const char *name,		  int prio,		  xnflags_t flags,		  unsigned stacksize,		  void *adcookie,		  unsigned magic);void xnthread_cleanup_tcb(xnthread_t *thread);#ifdef __cplusplus}#endif#endif /* !_xenomai_thread_h */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美伦理电影网| 亚洲蜜臀av乱码久久精品| 中文字幕在线不卡国产视频| 亚洲欧美日韩国产一区二区三区 | 91精品国产综合久久精品图片| 精品少妇一区二区三区在线视频| 亚洲人成影院在线观看| 国产剧情一区二区| 日韩一卡二卡三卡四卡| 亚洲男人天堂av网| 不卡一区二区三区四区| 欧美精品一区二区三区很污很色的| 亚洲综合色成人| 91视频一区二区三区| 欧美激情在线观看视频免费| 看国产成人h片视频| 欧美人与禽zozo性伦| 一区二区三区中文在线| 成人午夜视频免费看| 国产欧美综合在线观看第十页| 美女视频黄 久久| 91精品国产品国语在线不卡| 日韩中文字幕91| 欧美剧在线免费观看网站| 亚洲第一精品在线| 欧美日韩成人一区二区| 天堂蜜桃91精品| 欧美日韩成人一区| 视频一区二区国产| 欧美一区二区美女| 日日夜夜一区二区| 欧美一级免费大片| 蜜桃视频免费观看一区| 亚洲高清免费观看| 欧美亚洲综合一区| 亚洲国产乱码最新视频| 91精品在线麻豆| 日本三级韩国三级欧美三级| 日韩欧美一区二区视频| 国内成人免费视频| 国产精品乱人伦一区二区| 不卡视频免费播放| 亚洲精品国产成人久久av盗摄| 欧美在线观看一区二区| 男男成人高潮片免费网站| 久久这里只有精品视频网| 国产乱色国产精品免费视频| 国产精品欧美精品| 欧美在线观看视频一区二区 | 一区二区三区中文在线观看| 欧美三区在线观看| 免费在线观看不卡| 国产三级精品视频| 91一区二区三区在线播放| 五月天激情小说综合| 精品国产三级电影在线观看| 成人三级伦理片| 亚洲综合一区二区精品导航| 欧美一区二区三区四区视频 | 美女视频黄免费的久久| 日本一区二区三级电影在线观看| 91视频你懂的| 蜜桃av一区二区| 中文字幕一区二区不卡| 欧美高清激情brazzers| 国产精品99久久久久久宅男| 一区二区三区在线看| 久久久久国产精品麻豆ai换脸 | 日韩手机在线导航| 国产 欧美在线| 日韩精品免费视频人成| 国产精品无遮挡| 在线成人小视频| 成人精品免费网站| 欧美日韩综合一区| 国产精品一区二区果冻传媒| 亚洲午夜免费电影| 亚洲国产成人私人影院tom| 欧美另类一区二区三区| 91色porny| 国产成人aaa| 美国三级日本三级久久99| 一区二区三区中文字幕电影| 国产亚洲欧美中文| 91精品国产91综合久久蜜臀| 色婷婷综合久久久久中文| 国产乱码一区二区三区| 日韩av午夜在线观看| 亚洲精品伦理在线| 国产精品久线在线观看| 久久丝袜美腿综合| 日韩一区二区免费视频| 欧美日韩亚洲综合一区| 色综合中文字幕| 欧美视频一区二区在线观看| 岛国一区二区在线观看| 国产毛片一区二区| 精品一区二区三区蜜桃| 丝袜美腿高跟呻吟高潮一区| 一区二区三区高清不卡| 亚洲丝袜美腿综合| 中文在线一区二区| 精品成人a区在线观看| 日韩三级视频中文字幕| 欧美乱熟臀69xxxxxx| 欧美日韩国产免费| 欧美日韩一二三区| 欧美卡1卡2卡| 亚洲国产精品尤物yw在线观看| 亚洲视频综合在线| 亚洲欧美日韩中文字幕一区二区三区| 国产精品私房写真福利视频| 欧美激情一区在线观看| 欧美国产视频在线| 中文字幕久久午夜不卡| 国产精品伦理一区二区| 国产精品久久久久久久久果冻传媒 | av电影在线不卡| 99久久婷婷国产| 99久久国产综合精品色伊| 99re免费视频精品全部| 一本久道久久综合中文字幕| 在线欧美日韩精品| 欧美日韩电影在线| 欧美一级精品大片| 久久免费的精品国产v∧| 国产色爱av资源综合区| 国产精品传媒入口麻豆| 一区二区三区日韩在线观看| 日韩精品亚洲专区| 国产麻豆成人精品| 99精品欧美一区二区三区小说 | 麻豆精品国产传媒mv男同| 韩国v欧美v亚洲v日本v| 成人久久久精品乱码一区二区三区| 成人av在线一区二区| 欧洲精品一区二区| 欧美本精品男人aⅴ天堂| 国产欧美一区二区三区网站| 亚洲免费av在线| 久久国产精品72免费观看| 国产成人日日夜夜| 精品视频一区 二区 三区| 亚洲福利一二三区| 精品影院一区二区久久久| av在线不卡网| 91麻豆精品久久久久蜜臀| 欧美—级在线免费片| 午夜视频在线观看一区二区三区 | 国产色一区二区| 亚洲国产成人91porn| 国产91富婆露脸刺激对白 | 91在线国产福利| 91精品中文字幕一区二区三区| 欧美国产精品一区| 五月天激情小说综合| 99精品偷自拍| 精品国产乱码久久久久久影片| 亚洲视频一二区| 久久狠狠亚洲综合| 欧美视频精品在线观看| 国产精品三级电影| 美女视频免费一区| 在线日韩av片| 国产精品萝li| 九九精品视频在线看| 欧美日韩mp4| 亚洲一区二区三区中文字幕在线| 韩日av一区二区| 欧美一区二区三区视频在线观看| 国产精品美女视频| 黑人巨大精品欧美黑白配亚洲| 欧美日韩一级黄| 亚洲女厕所小便bbb| 成人一区在线观看| 国产亚洲午夜高清国产拍精品| 日本亚洲一区二区| 欧美精品乱码久久久久久| 亚洲日本护士毛茸茸| 国产成人精品网址| 337p日本欧洲亚洲大胆色噜噜| 日韩国产精品大片| 欧美日韩国产在线观看| 一区二区三区国产精品| 不卡视频一二三四| 中文字幕国产一区| 成人午夜伦理影院| 国产日韩欧美一区二区三区综合| 国内精品第一页| 欧美精品一区二区三区在线播放| 久久超碰97人人做人人爱| 日韩欧美成人午夜| 日本中文在线一区| 日韩三级视频在线观看| 奇米精品一区二区三区在线观看一 | 一本一道久久a久久精品综合蜜臀| 国产欧美一区二区三区鸳鸯浴| 国产成人鲁色资源国产91色综| 久久久精品黄色| 国产亚洲一本大道中文在线|