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

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

?? pthread.h

?? p2p類源代碼 kadc協議官方源代碼
?? H
?? 第 1 頁 / 共 3 頁
字號:
/* This is an implementation of the threads API of POSIX 1003.1-2001.
 *
 * --------------------------------------------------------------------------
 *
 *      Pthreads-win32 - POSIX Threads Library for Win32
 *      Copyright(C) 1998 John E. Bossom
 *      Copyright(C) 1999,2003 Pthreads-win32 contributors
 * 
 *      Contact Email: rpj@callisto.canberra.edu.au
 * 
 *      The current list of contributors is contained
 *      in the file CONTRIBUTORS included with the source
 *      code distribution. The list can also be seen at the
 *      following World Wide Web location:
 *      http://sources.redhat.com/pthreads-win32/contributors.html
 * 
 *      This 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 of the License, or (at your option) any later version.
 * 
 *      This 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 this library in the file COPYING.LIB;
 *      if not, write to the Free Software Foundation, Inc.,
 *      59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 */
#if !defined( PTHREAD_H )
#define PTHREAD_H
#undef PTW32_LEVEL
#if defined(_POSIX_SOURCE)
#define PTW32_LEVEL 0
/* Early POSIX */
#endif
#if defined(_POSIX_C_SOURCE) && _POSIX_C_SOURCE >= 199309
#undef PTW32_LEVEL
#define PTW32_LEVEL 1
/* Include 1b, 1c and 1d */
#endif
#if defined(INCLUDE_NP)
#undef PTW32_LEVEL
#define PTW32_LEVEL 2
/* Include Non-Portable extensions */
#endif
#define PTW32_LEVEL_MAX 3
#if !defined(PTW32_LEVEL)
#define PTW32_LEVEL PTW32_LEVEL_MAX
/* Include everything */
#endif
#ifdef _UWIN
#   define HAVE_STRUCT_TIMESPEC 1
#   define HAVE_SIGNAL_H        1
#   undef HAVE_CONFIG_H
#   pragma comment(lib, "pthread")
#endif
/*
 * -------------------------------------------------------------
 *
 *
 * Module: pthread.h
 *
 * Purpose:
 *      Provides an implementation of PThreads based upon the
 *      standard:
 *
 *              POSIX 1003.1-2001
 *  and
 *    The Single Unix Specification version 3
 *
 *    (these two are equivalent)
 *
 *      in order to enhance code portability between Windows,
 *  various commercial Unix implementations, and Linux.
 *
 *      See the ANNOUNCE file for a full list of conforming
 *      routines and defined constants, and a list of missing
 *      routines and constants not defined in this implementation.
 *
 * Authors:
 *      There have been many contributors to this library.
 *      The initial implementation was contributed by
 *      John Bossom, and several others have provided major
 *      sections or revisions of parts of the implementation.
 *      Often significant effort has been contributed to
 *      find and fix important bugs and other problems to
 *      improve the reliability of the library, which sometimes
 *      is not reflected in the amount of code which changed as
 *      result.
 *      As much as possible, the contributors are acknowledged
 *      in the ChangeLog file in the source code distribution
 *      where their changes are noted in detail.
 *
 *      Contributors are listed in the CONTRIBUTORS file.
 *
 *      As usual, all bouquets go to the contributors, and all
 *      brickbats go to the project maintainer.
 *
 * Maintainer:
 *      The code base for this project is coordinated and
 *      eventually pre-tested, packaged, and made available by
 *
 *              Ross Johnson <rpj@ise.canberra.edu.au>
 *
 * QA Testers:
 *      Ultimately, the library is tested in the real world by
 *      a host of competent and demanding scientists and
 *      engineers who report bugs and/or provide solutions
 *      which are then fixed or incorporated into subsequent
 *      versions of the library. Each time a bug is fixed, a
 *      test case is written to prove the fix and ensure
 *      that later changes to the code don't reintroduce the
 *      same error. The number of test cases is slowly growing
 *      and therefore so is the code reliability.
 *
 * Compliance:
 *      See the file ANNOUNCE for the list of implemented
 *      and not-implemented routines and defined options.
 *      Of course, these are all defined is this file as well.
 *
 * Web site:
 *      The source code and other information about this library
 *      are available from
 *
 *              http://sources.redhat.com/pthreads-win32/
 *
 * -------------------------------------------------------------
 */
/* Try to avoid including windows.h */
#if defined(__MINGW32__) && defined(__cplusplus)
/*
 * FIXME: The pthreadGCE.dll build gets linker unresolved errors
 * on pthread_key_create() unless windows.h is included here.
 * It appears to have something to do with an argument type mismatch.
 * Looking at tsd.o with 'nm' shows this line:
 * 00000000 T _pthread_key_create__FPP14pthread_key_t_PFPv_v
 * instead of
 * 00000000 T _pthread_key_create
 */
#define PTW32_INCLUDE_WINDOWS_H
#endif
#ifdef PTW32_INCLUDE_WINDOWS_H
#include <windows.h>
#endif
#if defined(_MSC_VER) && _MSC_VER < 1300
/*
 * VC++6.0 or early compiler's header has no DWORD_PTR type.
 */
typedef unsigned long DWORD_PTR;
#endif
/*
 * -----------------
 * autoconf switches
 * -----------------
 */
#if HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
#if PTW32_LEVEL >= PTW32_LEVEL_MAX
/* Try to avoid including windows.h */
#if defined(__MINGW32__) && defined(__cplusplus)
/*
 * FIXME: The pthreadGCE.dll build gets linker unresolved errors
 * on pthread_key_create() unless windows.h is included here.
 * It appears to have something to do with an argument type mismatch.
 * Looking at tsd.o with 'nm' shows this line:
 * 00000000 T _pthread_key_create__FPP14pthread_key_t_PFPv_v
 * instead of
 * 00000000 T _pthread_key_create
 */
#define PTW32_INCLUDE_WINDOWS_H
#endif
#ifdef PTW32_INCLUDE_WINDOWS_H
#include <windows.h>
#endif
#ifndef NEED_FTIME
#include <time.h>
#else /* NEED_FTIME */
/* use native WIN32 time API */
#endif /* NEED_FTIME */
#if HAVE_SIGNAL_H
#include <signal.h>
#endif /* HAVE_SIGNAL_H */
#include <setjmp.h>
#include <limits.h>
/*
 * Boolean values to make us independent of system includes.
 */
enum {
  PTW32_FALSE = 0,
  PTW32_TRUE = (! PTW32_FALSE)
};
/*
 * This is a duplicate of what is in the autoconf config.h,
 * which is only used when building the pthread-win32 libraries.
 */
#ifndef PTW32_CONFIG_H
#  if defined(WINCE)
#    define NEED_ERRNO
#    define NEED_SEM
#  endif
#  if defined(_UWIN) || defined(__MINGW32__)
#    define HAVE_MODE_T
#  endif
#endif
/*
 *
 */
#if PTW32_LEVEL >= PTW32_LEVEL_MAX
#ifdef NEED_ERRNO
#include "need_errno.h"
#else
#include <errno.h>
#endif
#endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */
/*
 * Several systems don't define ENOTSUP. If not, we use
 * the same value as Solaris.
 */
#ifndef ENOTSUP
#  define ENOTSUP 48
#endif
#ifndef ETIMEDOUT
#  define ETIMEDOUT 10060     /* This is the value in winsock.h. */
#endif
#include <sched.h>
/*
 * To avoid including windows.h we define only those things that we
 * actually need from it. I don't like the potential incompatibility that
 * this creates with future versions of windows.
 */
#ifndef PTW32_INCLUDE_WINDOWS_H
#ifndef HANDLE
# define PTW32__HANDLE_DEF
# define HANDLE void *
#endif
#ifndef DWORD
# define PTW32__DWORD_DEF
# define DWORD unsigned long
#endif
#endif
#endif /* PTW32_LEVEL >= PTW32_LEVEL_MAX */
#ifndef HAVE_STRUCT_TIMESPEC
struct timespec {
        long tv_sec;
        long tv_nsec;
};
#endif /* HAVE_STRUCT_TIMESPEC */
#ifndef SIG_BLOCK
#define SIG_BLOCK 0
#endif /* SIG_BLOCK */
#ifndef SIG_UNBLOCK 
#define SIG_UNBLOCK 1
#endif /* SIG_UNBLOCK */
#ifndef SIG_SETMASK
#define SIG_SETMASK 2
#endif /* SIG_SETMASK */
#ifdef __cplusplus
extern "C"
{
#endif                          /* __cplusplus */
/*
 * -------------------------------------------------------------
 *
 * POSIX 1003.1-2001 Options
 * =========================
 *
 * _POSIX_THREADS (set)
 *                      If set, you can use threads
 *
 * _POSIX_THREAD_ATTR_STACKSIZE (set)
 *                      If set, you can control the size of a thread's
 *                      stack
 *                              pthread_attr_getstacksize
 *                              pthread_attr_setstacksize
 *
 * _POSIX_THREAD_ATTR_STACKADDR (not set)
 *                      If set, you can allocate and control a thread's
 *                      stack. If not supported, the following functions
 *                      will return ENOSYS, indicating they are not
 *                      supported:
 *                              pthread_attr_getstackaddr
 *                              pthread_attr_setstackaddr
 *
 * _POSIX_THREAD_PRIORITY_SCHEDULING (set)
 *                      If set, you can use realtime scheduling.
 *                      Indicates the availability of:
 *                              pthread_attr_getinheritsched
 *                              pthread_attr_getschedparam
 *                              pthread_attr_getschedpolicy
 *                              pthread_attr_getscope
 *                              pthread_attr_setinheritsched
 *                              pthread_attr_setschedparam
 *                              pthread_attr_setschedpolicy
 *                              pthread_attr_setscope
 *                              pthread_getschedparam
 *                              pthread_setschedparam
 *                              sched_get_priority_max
 *                              sched_get_priority_min
 *                              sched_rr_set_interval
 *
 * _POSIX_THREAD_PRIO_INHERIT (not set)
 *                      If set, you can create priority inheritance
 *                      mutexes.
 *                              pthread_mutexattr_getprotocol +
 *                              pthread_mutexattr_setprotocol +
 *
 * _POSIX_THREAD_PRIO_PROTECT (not set)
 *                      If set, you can create priority ceiling mutexes
 *                      Indicates the availability of:
 *                              pthread_mutex_getprioceiling
 *                              pthread_mutex_setprioceiling
 *                              pthread_mutexattr_getprioceiling
 *                              pthread_mutexattr_getprotocol     +
 *                              pthread_mutexattr_setprioceiling
 *                              pthread_mutexattr_setprotocol     +
 *
 * _POSIX_THREAD_PROCESS_SHARED (not set)
 *                      If set, you can create mutexes and condition
 *                      variables that can be shared with another
 *                      process.If set, indicates the availability
 *                      of:
 *                              pthread_mutexattr_getpshared
 *                              pthread_mutexattr_setpshared
 *                              pthread_condattr_getpshared
 *                              pthread_condattr_setpshared
 *
 * _POSIX_THREAD_SAFE_FUNCTIONS (set)
 *                      If set you can use the special *_r library
 *                      functions that provide thread-safe behaviour
 *
 * _POSIX_READER_WRITER_LOCKS (set)
 *                      If set, you can use read/write locks
 *
 * _POSIX_SPIN_LOCKS (set)
 *                      If set, you can use spin locks
 *
 * _POSIX_BARRIERS (set)
 *                      If set, you can use barriers
 *
 *      + These functions provide both 'inherit' and/or
 *        'protect' protocol, based upon these macro
 *        settings.
 *
 * POSIX 1003.1-2001 Limits
 * ===========================
 *
 * PTHREAD_DESTRUCTOR_ITERATIONS
 *                      Maximum number of attempts to destroy
 *                      a thread's thread-specific data on
 *                      termination (must be at least 4)
 *
 * PTHREAD_KEYS_MAX
 *                      Maximum number of thread-specific data keys
 *                      available per process (must be at least 128)
 *
 * PTHREAD_STACK_MIN
 *                      Minimum supported stack size for a thread
 *
 * PTHREAD_THREADS_MAX
 *                      Maximum number of threads supported per
 *                      process (must be at least 64).
 *
 * _POSIX_SEM_NSEMS_MAX
 *      The maximum number of semaphores a process can have.
 *      (only defined if not already defined)
 *
 * _POSIX_SEM_VALUE_MAX
 *      The maximum value a semaphore can have.
 *      (only defined if not already defined)
 *
 * -------------------------------------------------------------
 */
/*
 * POSIX Options
 */
#ifndef _POSIX_THREADS
#define _POSIX_THREADS
#endif
#ifndef _POSIX_READER_WRITER_LOCKS
#define _POSIX_READER_WRITER_LOCKS
#endif
#ifndef _POSIX_SPIN_LOCKS
#define _POSIX_SPIN_LOCKS
#endif
#ifndef _POSIX_BARRIERS
#define _POSIX_BARRIERS
#endif
#define _POSIX_THREAD_SAFE_FUNCTIONS
#define _POSIX_THREAD_ATTR_STACKSIZE
#define _POSIX_THREAD_PRIORITY_SCHEDULING
#if defined( KLUDGE )
/*
 * The following are not supported
 */
#define _POSIX_THREAD_ATTR_STACKADDR
#define _POSIX_THREAD_PRIO_INHERIT
#define _POSIX_THREAD_PRIO_PROTECT
#define _POSIX_THREAD_PROCESS_SHARED
#endif                          /* KLUDGE */
/*
 * POSIX Limits
 *

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷综合久久久中文一区二区| 亚洲欧美视频在线观看视频| 婷婷成人激情在线网| 色哦色哦哦色天天综合| 日韩美女久久久| 欧美午夜精品久久久久久超碰| 亚洲免费观看在线观看| 欧美系列在线观看| 免费成人结看片| 精品福利视频一区二区三区| 国产69精品久久99不卡| 亚洲天天做日日做天天谢日日欢| 91九色最新地址| 美女网站一区二区| 国产区在线观看成人精品 | 欧美亚洲免费在线一区| 亚洲成av人片| 久久亚洲免费视频| 色综合天天综合网国产成人综合天| 一区二区三区中文字幕精品精品 | 国产不卡视频在线播放| 亚洲精品视频在线看| 91精品欧美综合在线观看最新| 极品少妇xxxx精品少妇偷拍| 欧美激情在线看| 精品视频一区二区不卡| 精品一区二区三区欧美| 亚洲色图都市小说| 精品久久人人做人人爱| 99久久久国产精品| 男男gaygay亚洲| ...xxx性欧美| 精品奇米国产一区二区三区| 91在线丨porny丨国产| 奇米综合一区二区三区精品视频| 中文无字幕一区二区三区 | 日韩中文字幕亚洲一区二区va在线| 精品福利av导航| 欧美性做爰猛烈叫床潮| 国产精品亚洲一区二区三区在线 | 成人avav影音| 蜜桃视频一区二区三区在线观看 | 欧洲国产伦久久久久久久| 免费成人深夜小野草| 亚洲激情av在线| 久久久久久久久久久黄色| 国产色产综合色产在线视频| 欧美综合欧美视频| 成人免费毛片a| 狠狠网亚洲精品| 亚洲成人综合在线| 亚洲人成在线观看一区二区| 26uuu另类欧美亚洲曰本| 欧美日韩日本视频| 99久久综合狠狠综合久久| 国产一区二区三区av电影| 视频一区在线视频| 亚洲一区二区三区四区五区黄| 国产精品欧美久久久久无广告| 欧美成人一级视频| 日韩一区二区免费高清| 欧美乱妇20p| 欧美自拍偷拍午夜视频| 色婷婷综合五月| 91老师片黄在线观看| 国产成人亚洲综合色影视| 精品一区免费av| 日本怡春院一区二区| 午夜国产精品一区| 亚洲线精品一区二区三区| 中文字幕亚洲欧美在线不卡| 日本一区二区三区电影| 国产欧美一区二区三区网站| 国产视频一区二区在线观看| 2023国产精品自拍| 337p日本欧洲亚洲大胆色噜噜| 日韩欧美精品在线| 精品久久久久久最新网址| 日韩精品专区在线影院重磅| 日韩精品一区二区三区在线播放 | 最新国产成人在线观看| 国产精品剧情在线亚洲| 亚洲欧洲日韩综合一区二区| 亚洲欧洲日韩综合一区二区| 中文字幕日本不卡| 最新中文字幕一区二区三区| 亚洲啪啪综合av一区二区三区| 亚洲欧美日韩系列| 一区二区三区不卡视频在线观看| 一级做a爱片久久| 日韩影院精彩在线| 日韩1区2区3区| 韩国毛片一区二区三区| 国产传媒日韩欧美成人| 99精品视频在线观看免费| 色成人在线视频| 91麻豆精品国产自产在线观看一区| 91精品在线免费| 2024国产精品| 最近日韩中文字幕| 亚洲18影院在线观看| 久久国产免费看| 成人免费观看视频| 欧美写真视频网站| 欧美成人精品福利| 亚洲欧洲另类国产综合| 亚洲自拍偷拍九九九| 久久99精品久久久久| 9人人澡人人爽人人精品| 精品视频在线视频| 精品国产sm最大网站| 亚洲免费观看高清在线观看| 日产精品久久久久久久性色| 国产麻豆日韩欧美久久| 色乱码一区二区三区88| 日韩视频免费观看高清完整版 | 亚洲免费观看高清| 日本欧美在线观看| www.亚洲免费av| 91麻豆精品国产91久久久资源速度 | 久久久噜噜噜久噜久久综合| 26uuu成人网一区二区三区| 亚洲三级在线免费观看| 麻豆精品在线视频| 99久久久久久99| 日韩欧美色综合| 亚洲精品国产无套在线观| 激情亚洲综合在线| 91国产免费看| 国产欧美日韩亚州综合 | 日韩三级视频中文字幕| 中文字幕在线观看不卡视频| 热久久国产精品| 色婷婷av一区二区三区之一色屋| xf在线a精品一区二区视频网站| 亚洲欧美另类综合偷拍| 欧美午夜电影网| 国产精品你懂的在线欣赏| 免费精品99久久国产综合精品| 一本一道综合狠狠老| 国产日韩欧美在线一区| 久久不见久久见免费视频7| 欧洲一区二区三区免费视频| 中文幕一区二区三区久久蜜桃| 日本亚洲电影天堂| 精品视频一区二区三区免费| 亚洲天堂网中文字| 大胆亚洲人体视频| 337p粉嫩大胆色噜噜噜噜亚洲| 日韩一区精品字幕| 欧美日韩国产一级片| 亚洲精品网站在线观看| caoporn国产一区二区| 久久久精品日韩欧美| 久久精品久久综合| 911精品国产一区二区在线| 亚洲国产一区二区视频| 91久久香蕉国产日韩欧美9色| 中文字幕一区av| 91一区二区三区在线观看| 国产欧美日本一区视频| 国产精品一区二区三区四区| 精品国产91九色蝌蚪| 毛片av一区二区三区| 欧美一级一区二区| 琪琪久久久久日韩精品| 日韩一区二区三区四区| 美女免费视频一区| 日韩美女在线视频| 国产一区欧美日韩| 久久免费电影网| 国产激情91久久精品导航| 久久精品夜色噜噜亚洲a∨| 国产馆精品极品| 国产精品视频第一区| 成人高清免费在线播放| 亚洲欧洲精品一区二区三区 | 高清在线不卡av| 中文字幕一区二区三区视频| 97成人超碰视| 亚洲宅男天堂在线观看无病毒| 欧美日韩国产美女| 免费久久精品视频| 久久久综合九色合综国产精品| 国产成人av电影在线观看| 国产精品成人午夜| 91成人免费网站| 日韩国产高清在线| 久久美女艺术照精彩视频福利播放| 国产一区二区在线观看免费| 亚洲国产精品国自产拍av| 91在线小视频| 日韩av高清在线观看| 久久一日本道色综合| 成人午夜av影视| 性做久久久久久| 久久久天堂av| 色国产综合视频| 美美哒免费高清在线观看视频一区二区 | 国产高清精品网站|