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

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

?? posix-timer.h

?? glibc 庫, 不僅可以學習使用庫函數,還可以學習函數的具體實現,是提高功力的好資料
?? H
字號:
/* Definitions for POSIX timer implementation on top of NPTL.   Copyright (C) 2000, 2002, 2003, 2004 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 Lesser General Public License as   published by the Free Software Foundation; either version 2.1 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   Lesser General Public License for more details.   You should have received a copy of the GNU Lesser 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>/* 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;  int overrun_count;};/* The limit is not published if we are compiled with kernel timer support.   But we still compiled in this implementation with its limit unless built   to require the kernel support.  */#ifndef TIMER_MAX# define TIMER_MAX 256#endif/* 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;/* Node for the thread used to deliver signals.  */extern struct thread_node __timer_signal_thread_rclk;/* Return pointer to timer structure corresponding to ID.  */#define timer_id2ptr(timerid) ((struct timer_node *) timerid)#define timer_ptr2id(timerid) ((void *) timerid)/* 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 int__attribute ((always_inline))timespec_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一区二区三区免费野_久草精品视频
日韩免费看网站| 日韩视频在线观看一区二区| 日韩国产高清在线| 日日摸夜夜添夜夜添精品视频 | 国产精品久久久久毛片软件| 欧美亚洲另类激情小说| 成人免费看视频| 奇米综合一区二区三区精品视频| 亚洲免费观看在线视频| 久久综合色婷婷| 欧美日本在线一区| 色女孩综合影院| 成人综合婷婷国产精品久久免费| 青青草伊人久久| 亚洲图片有声小说| 亚洲激情欧美激情| 国产精品久久久久一区二区三区共| 欧美一区2区视频在线观看| 91成人免费在线| av成人免费在线观看| 精品一区二区三区在线播放| 视频一区欧美日韩| 一级日本不卡的影视| 中文字幕亚洲电影| 国产精品入口麻豆原神| 久久九九久精品国产免费直播| 欧美一区二区三区成人| 欧美精品99久久久**| 欧美系列在线观看| 色视频欧美一区二区三区| 99视频精品免费视频| 成熟亚洲日本毛茸茸凸凹| 国产剧情在线观看一区二区| 精品一区二区三区不卡| 麻豆91在线看| 九九久久精品视频| 韩国精品免费视频| 国产精品资源在线观看| 国产一区啦啦啦在线观看| 麻豆中文一区二区| 美腿丝袜在线亚洲一区| 麻豆91精品视频| 激情欧美一区二区| 国产精品自拍网站| 成人av中文字幕| 色又黄又爽网站www久久| 在线视频国产一区| 欧美色电影在线| 欧美一区二区三区男人的天堂| 亚洲一二三四区不卡| 亚洲综合精品久久| 日韩国产一区二| 九一久久久久久| 成人网在线播放| 99久久婷婷国产综合精品电影| 91网站黄www| 欧美日韩一级二级| 精品久久国产97色综合| 国产欧美一区二区精品仙草咪 | 五月天激情小说综合| 午夜免费久久看| 麻豆久久一区二区| 成人综合激情网| 在线精品视频免费观看| 欧美一区二区三区色| 久久美女艺术照精彩视频福利播放| 国产精品欧美经典| 无吗不卡中文字幕| 国产一区二区三区最好精华液| 粉嫩绯色av一区二区在线观看| 色综合久久中文综合久久97| 777xxx欧美| 欧美国产视频在线| 亚洲一区成人在线| 国产一区二区精品久久| 色综合久久九月婷婷色综合| 91精品视频网| 国产精品久久久一本精品| 午夜电影一区二区三区| 国产酒店精品激情| 欧美日韩在线一区二区| wwwwww.欧美系列| 亚洲女与黑人做爰| 久草中文综合在线| 欧美亚洲一区二区在线观看| 欧美zozo另类异族| 一区二区三区加勒比av| 精品亚洲国产成人av制服丝袜| 色乱码一区二区三区88| 久久影院午夜片一区| 亚洲精品高清视频在线观看| 精品一区二区在线视频| 欧美日韩亚洲另类| 国产精品久久久久久久久果冻传媒| 日精品一区二区三区| 成人黄色免费短视频| 日韩欧美亚洲国产另类| 亚洲女人的天堂| 国产综合成人久久大片91| 91搞黄在线观看| 日本一区二区三区高清不卡| 日日夜夜免费精品| 色八戒一区二区三区| 国产欧美一区二区精品忘忧草| 五月天一区二区三区| 一本色道久久综合亚洲91| 久久久亚洲高清| 蜜臀久久99精品久久久久久9 | 91偷拍与自偷拍精品| 久久久久久久久一| 久久国产精品色| 91福利精品视频| 国产精品国产三级国产有无不卡 | 国产欧美一区二区精品久导航 | 亚洲国产精品黑人久久久| 美女在线视频一区| 欧美日韩久久不卡| 亚洲精品伦理在线| 成人av在线播放网站| 欧美极品另类videosde| 国产真实精品久久二三区| 欧美电影影音先锋| 亚洲地区一二三色| 欧美三级一区二区| 亚洲线精品一区二区三区 | 91麻豆国产精品久久| 国产精品午夜春色av| 国产精品99久久久| 久久蜜桃av一区二区天堂| 国产一区二区三区香蕉 | 久久午夜电影网| 久久99国产乱子伦精品免费| 欧美一区二区私人影院日本| 日本一区中文字幕 | 欧美美女一区二区在线观看| 一区二区三区在线视频播放| 在线一区二区视频| 亚洲一区电影777| 7777精品伊人久久久大香线蕉的 | 精品国产乱码91久久久久久网站| 婷婷国产v国产偷v亚洲高清| 欧美日韩dvd在线观看| 日韩电影在线观看网站| 日韩一区国产二区欧美三区| 日本不卡在线视频| 精品国产一区二区三区忘忧草| 麻豆国产精品官网| 国产日韩一级二级三级| eeuss鲁一区二区三区| 亚洲日本丝袜连裤袜办公室| 91久久精品日日躁夜夜躁欧美| 亚洲国产一二三| 欧美一区二区成人6969| 国产成人在线视频网址| 国产精品传媒入口麻豆| 在线日韩av片| 麻豆91免费看| 国产精品青草久久| 欧美日韩在线播放一区| 六月婷婷色综合| 国产调教视频一区| 91福利精品第一导航| 热久久国产精品| 欧美经典一区二区| 欧美午夜电影网| 老司机精品视频一区二区三区| 国产欧美一区二区三区在线看蜜臀| 91麻豆.com| 麻豆精品一区二区三区| 国产精品久久国产精麻豆99网站| 色狠狠色狠狠综合| 激情综合五月婷婷| 亚洲欧美欧美一区二区三区| 日韩一区二区三区在线观看| 成人在线一区二区三区| 亚洲成a人v欧美综合天堂下载 | 国产精品久久久久精k8| 在线观看91视频| 国产在线视频一区二区| 亚洲欧美日韩国产手机在线| 日韩午夜av电影| 91污在线观看| 国产一区二区免费视频| 一级女性全黄久久生活片免费| 精品国产伦理网| 色综合久久久久久久| 国内外成人在线视频| 亚洲一区二区中文在线| 久久久久久久免费视频了| 精品视频1区2区| 成人黄色a**站在线观看| 美女爽到高潮91| 亚洲一区二区三区视频在线| 欧美国产一区视频在线观看| 日韩一级完整毛片| 欧美在线观看你懂的| 成人国产免费视频| 精品一区精品二区高清| 婷婷成人综合网| 亚洲精品视频在线观看网站|