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

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

?? posix-timer.h

?? 用于嵌入式Linux系統的標準C的庫函數
?? H
字號:
/* Definitions for POSIX timer implementation on top of LinuxThreads.   Copyright (C) 2000 Free Software Foundation, Inc.   This file is part of the GNU C Library.   Contributed by Kaz Kylheku <kaz@ashi.footprints.net>.   The GNU C Library is free software; you can redistribute it and/or   modify it under the terms of the GNU Library General Public License as   published by the Free Software Foundation; either version 2 of the   License, or (at your option) any later version.   The GNU C Library 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   Library General Public License for more details.   You should have received a copy of the GNU Library General Public   License along with the GNU C Library; see the file COPYING.LIB.  If not,   write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,   Boston, MA 02111-1307, USA.  */#include <limits.h>#include <signal.h>#include <linux/time.h>/* Double linked list.  */struct list_links{  struct list_links *next;  struct list_links *prev;};/* Forward declaration.  */struct timer_node;/* Definitions for an internal thread of the POSIX timer implementation.  */struct thread_node{  struct list_links links;  pthread_attr_t attr;  pthread_t id;  unsigned int exists;  struct list_links timer_queue;  pthread_cond_t cond;  struct timer_node *current_timer;  pthread_t captured;  clockid_t clock_id;};/* Internal representation of a timer.  */struct timer_node{  struct list_links links;  struct sigevent event;  clockid_t clock;  struct itimerspec value;  struct timespec expirytime;  pthread_attr_t attr;  unsigned int abstime;  unsigned int armed;  enum {    TIMER_FREE, TIMER_INUSE, TIMER_DELETED  } inuse;  struct thread_node *thread;  pid_t creator_pid;  int refcount;};/* Static array with the structures for all the timers.  */extern struct timer_node __timer_array[TIMER_MAX];/* Global lock to protect operation on the lists.  */extern pthread_mutex_t __timer_mutex;/* Variable to protext initialization.  */extern pthread_once_t __timer_init_once_control;/* Nonzero if initialization of timer implementation failed.  */extern int __timer_init_failed;/* Nodes for the threads used to deliver signals.  *//* A distinct thread is used for each clock type.  */extern struct thread_node __timer_signal_thread_rclk;#ifdef _POSIX_CPUTIMEextern struct thread_node __timer_signal_thread_pclk;#endif#ifdef _POSIX_THREAD_CPUTIMEextern struct thread_node __timer_signal_thread_tclk;#endif/* Return pointer to timer structure corresponding to ID.  */static inline struct timer_node *timer_id2ptr (timer_t timerid){  if (timerid >= 0 && timerid < TIMER_MAX)    return &__timer_array[timerid];  return NULL;}/* Return ID of TIMER.  */static inline inttimer_ptr2id (struct timer_node *timer){  return timer - __timer_array;}/* Check whether timer is valid; global mutex must be held. */static inline inttimer_valid (struct timer_node *timer){  return timer && timer->inuse == TIMER_INUSE;}/* Timer refcount functions; need global mutex. */extern void __timer_dealloc (struct timer_node *timer);static inline voidtimer_addref (struct timer_node *timer){  timer->refcount++;}static inline voidtimer_delref (struct timer_node *timer){  if (--timer->refcount == 0)    __timer_dealloc (timer);}/* Timespec helper routines.  */static inline inttimespec_compare (const struct timespec *left, const struct timespec *right){  if (left->tv_sec < right->tv_sec)    return -1;  if (left->tv_sec > right->tv_sec)    return 1;  if (left->tv_nsec < right->tv_nsec)    return -1;  if (left->tv_nsec > right->tv_nsec)    return 1;  return 0;}static inline voidtimespec_add (struct timespec *sum, const struct timespec *left,	      const struct timespec *right){  sum->tv_sec = left->tv_sec + right->tv_sec;  sum->tv_nsec = left->tv_nsec + right->tv_nsec;  if (sum->tv_nsec >= 1000000000)    {      ++sum->tv_sec;      sum->tv_nsec -= 1000000000;    }}static inline voidtimespec_sub (struct timespec *diff, const struct timespec *left,	      const struct timespec *right){  diff->tv_sec = left->tv_sec - right->tv_sec;  diff->tv_nsec = left->tv_nsec - right->tv_nsec;  if (diff->tv_nsec < 0)    {      --diff->tv_sec;      diff->tv_nsec += 1000000000;    }}/* We need one of the list functions in the other modules.  */static inline voidlist_unlink_ip (struct list_links *list){  struct list_links *lnext = list->next, *lprev = list->prev;  lnext->prev = lprev;  lprev->next = lnext;  /* The suffix ip means idempotent; list_unlink_ip can be called   * two or more times on the same node.   */  list->next = list;  list->prev = list;}/* Functions in the helper file.  */extern void __timer_mutex_cancel_handler (void *arg);extern void __timer_init_once (void);extern struct timer_node *__timer_alloc (void);extern int __timer_thread_start (struct thread_node *thread);extern struct thread_node *__timer_thread_find_matching (const pthread_attr_t *desired_attr, clockid_t);extern struct thread_node *__timer_thread_alloc (const pthread_attr_t *desired_attr, clockid_t);extern void __timer_thread_dealloc (struct thread_node *thread);extern int __timer_thread_queue_timer (struct thread_node *thread,				       struct timer_node *insert);extern void __timer_thread_wakeup (struct thread_node *thread);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人国产一区二区| 97久久精品人人爽人人爽蜜臀| 欧美日韩成人综合天天影院 | 日韩免费看的电影| 日日夜夜免费精品| 精品国产网站在线观看| 成人精品视频网站| 亚洲国产成人av| 精品电影一区二区三区 | 欧美四级电影在线观看| 亚洲自拍偷拍九九九| 69堂成人精品免费视频| 国产精品乡下勾搭老头1| 亚洲国产岛国毛片在线| 91视频一区二区三区| 奇米精品一区二区三区四区| 国产婷婷一区二区| 欧美成人欧美edvon| 91免费看片在线观看| 国产激情偷乱视频一区二区三区| 国产视频一区二区三区在线观看| 精品av综合导航| 国产成都精品91一区二区三 | 久久婷婷国产综合国色天香| 成人一二三区视频| 看电视剧不卡顿的网站| av成人动漫在线观看| 久久久91精品国产一区二区精品| 欧美一区二区三区在线| 午夜伊人狠狠久久| 欧美日韩一区小说| 水蜜桃久久夜色精品一区的特点 | 日韩精品亚洲一区二区三区免费| 在线视频观看一区| 亚洲电影一级片| 欧美日韩国产综合草草| 调教+趴+乳夹+国产+精品| 91精品国产综合久久精品性色| 亚洲综合在线第一页| 欧美日韩一级二级三级| 香蕉久久一区二区不卡无毒影院 | 国产欧美日韩精品一区| 国产成人自拍网| 国产精品欧美一区二区三区| 91小视频在线观看| 天天av天天翘天天综合网色鬼国产| 欧美三级三级三级| 日本三级亚洲精品| 精品99久久久久久| 99麻豆久久久国产精品免费| 亚洲一区二区3| 日韩精品最新网址| 国产精品中文有码| 洋洋av久久久久久久一区| 在线不卡欧美精品一区二区三区| 激情文学综合丁香| 亚洲欧美欧美一区二区三区| 91麻豆精品91久久久久同性| 国产在线一区二区| 一区二区免费在线播放| 欧美哺乳videos| 99精品热视频| 蜜桃av一区二区三区电影| 国产欧美综合在线观看第十页| 色www精品视频在线观看| 午夜日韩在线观看| 亚洲国产精品t66y| 欧美精品色综合| 国产xxx精品视频大全| 亚洲午夜精品一区二区三区他趣| 精品久久一二三区| 在线观看欧美精品| 国产激情视频一区二区在线观看| 一区二区三区在线观看动漫| 久久久久久电影| 欧美日韩一区二区三区不卡| 高清在线不卡av| 日本sm残虐另类| 亚洲免费观看在线视频| 久久亚洲一区二区三区四区| 欧洲精品一区二区三区在线观看| 久久99精品国产麻豆婷婷洗澡| 日韩久久一区二区| 久久亚洲一区二区三区四区| 欧美绝品在线观看成人午夜影视| 国产精品888| 另类专区欧美蜜桃臀第一页| 亚洲免费在线播放| 国产日韩精品一区二区三区| 欧美一区二区三区男人的天堂| 成人美女在线观看| 国产盗摄精品一区二区三区在线| 亚洲第一在线综合网站| 亚洲精品免费视频| 中文字幕第一区二区| 久久综合九色欧美综合狠狠| 欧美一区二区啪啪| 欧美另类久久久品| 欧美日韩一区二区在线视频| av亚洲精华国产精华精| 丁香网亚洲国际| 狠狠v欧美v日韩v亚洲ⅴ| 亚洲高清不卡在线观看| 一区二区视频在线看| 国产精品国产a| 亚洲丝袜自拍清纯另类| 国产精品无码永久免费888| 国产日韩欧美综合在线| 国产欧美日韩亚州综合| 亚洲精品在线电影| 久久免费美女视频| 精品毛片乱码1区2区3区| 精品成人一区二区| 精品国产91九色蝌蚪| 26uuu成人网一区二区三区| 精品sm在线观看| 国产欧美日韩另类一区| 国产精品久久久久桃色tv| 国产欧美日韩综合| 中文字幕制服丝袜成人av| 最近中文字幕一区二区三区| 国产精品久久777777| 一区二区免费在线播放| 丝袜亚洲另类欧美综合| 人人爽香蕉精品| 激情综合一区二区三区| 国产成人一区二区精品非洲| 成人97人人超碰人人99| 91婷婷韩国欧美一区二区| 色哦色哦哦色天天综合| 欧美高清精品3d| 久久久久久久电影| 国产精品久久久久aaaa樱花 | 亚洲电影视频在线| 午夜精品免费在线| 美国一区二区三区在线播放| 国产美女av一区二区三区| 国内外成人在线| 成人av资源下载| 欧美日韩一区三区| 国产午夜精品久久| 亚洲少妇中出一区| 日韩中文欧美在线| 国产精品系列在线观看| 91精品福利视频| 日韩女优视频免费观看| 中文字幕av一区 二区| 亚洲高清久久久| 懂色av噜噜一区二区三区av| 在线观看亚洲精品视频| 26uuu亚洲综合色欧美| 亚洲男人天堂av| 精品一区二区国语对白| 色老汉av一区二区三区| 日韩欧美精品在线视频| 综合久久久久久| 美女爽到高潮91| 欧美午夜精品久久久| 久久综合九色综合97_久久久| 亚洲自拍另类综合| 国产综合久久久久影院| 欧美日韩三级在线| 中文字幕视频一区| 国产一区二区三区久久悠悠色av| 欧美最新大片在线看| 国产日产欧美一区| 日本午夜精品视频在线观看| 岛国一区二区三区| 精品国产一区二区在线观看| 亚洲电影你懂得| 99精品久久只有精品| 久久午夜国产精品| 日本亚洲最大的色成网站www| 99国产精品视频免费观看| 久久精品一区二区三区av| 日韩影院精彩在线| 欧美色图12p| 一区二区成人在线视频| 国产成人综合在线播放| 欧美成人性战久久| 天堂资源在线中文精品| 欧美制服丝袜第一页| 国产精品久久久久aaaa樱花| 国产精品综合久久| 精品卡一卡二卡三卡四在线| 日韩综合在线视频| 欧美一区二区在线不卡| 亚洲综合色区另类av| 色综合天天综合狠狠| 中文字幕在线免费不卡| 国产91精品免费| 日本一区免费视频| 国产成人综合在线播放| 国产日韩一级二级三级| 国产精品夜夜爽| 国产片一区二区| 99re在线视频这里只有精品| 国产精品第一页第二页第三页| 波多野结衣在线一区| 亚洲欧美在线观看|