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

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

?? pthread.h

?? “網(wǎng)絡(luò)安全技術(shù)實(shí)踐與代碼詳解”實(shí)例代碼
?? H
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
/* 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

/*
 * -----------------
 * 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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本一区二区三区四区 | 91免费在线视频观看| 亚洲一区二区三区四区五区中文 | 99久久99久久精品免费看蜜桃| 亚洲国产日韩在线一区模特 | 亚洲3atv精品一区二区三区| 26uuu精品一区二区| 在线观看av不卡| 成人天堂资源www在线| 日韩国产欧美三级| 亚洲精品国产一区二区三区四区在线| 日韩免费视频一区| 欧美亚洲国产一区在线观看网站| 国产麻豆视频精品| 日本91福利区| 亚洲一区二区三区影院| 成人免费在线观看入口| 精品国产一区二区三区不卡| 在线成人av影院| 色哟哟国产精品| 不卡一区二区三区四区| 韩国av一区二区三区在线观看| 午夜精品久久久久久久99水蜜桃| 一色屋精品亚洲香蕉网站| 国产亲近乱来精品视频| www国产精品av| 亚洲精品一区二区精华| 日韩精品一区二区在线观看| 在线成人av影院| 欧美美女bb生活片| 欧美午夜精品免费| 日本高清不卡视频| 色综合色狠狠天天综合色| 大胆亚洲人体视频| 国产.欧美.日韩| 国产美女精品在线| 高清av一区二区| 99re这里都是精品| 色综合天天在线| 91麻豆国产福利在线观看| 91麻豆文化传媒在线观看| 99久久精品情趣| 91亚洲精品乱码久久久久久蜜桃| 97se狠狠狠综合亚洲狠狠| aaa国产一区| 91在线视频免费91| 91国产免费观看| 欧美性一级生活| 欧美一区二区三区免费| 日韩美女主播在线视频一区二区三区| 亚洲自拍偷拍图区| 亚洲高清中文字幕| 蜜臀精品久久久久久蜜臀| 蜜臀av性久久久久蜜臀av麻豆| 久久99精品久久久久婷婷| 国产精品一级片| 成人污视频在线观看| 91网站最新地址| 欧美日韩在线精品一区二区三区激情 | 亚洲va在线va天堂| 日本视频免费一区| 国产精品18久久久久久vr| 成人激情免费电影网址| 91麻豆蜜桃一区二区三区| 欧美日精品一区视频| 日韩欧美激情一区| 久久久国产午夜精品| 亚洲免费在线视频一区 二区| 五月天欧美精品| 国产精品99久久久久久似苏梦涵 | 国产福利精品一区二区| av动漫一区二区| 91麻豆精品国产91久久久更新时间 | 久久久久国产精品麻豆ai换脸| 国产精品久久网站| 午夜欧美大尺度福利影院在线看| 久久av老司机精品网站导航| 9色porny自拍视频一区二区| 欧美日韩三级在线| 国产喷白浆一区二区三区| 亚洲综合999| 国内精品免费在线观看| 91色综合久久久久婷婷| 日韩一卡二卡三卡国产欧美| 国产精品久久久久四虎| 五月天网站亚洲| 成人激情av网| 日韩亚洲欧美在线| 亚洲色大成网站www久久九九| 奇米精品一区二区三区在线观看一| 成人精品视频一区二区三区| 欧美午夜理伦三级在线观看| 久久精品一二三| 午夜视频在线观看一区| 成人综合婷婷国产精品久久免费| 欧美图区在线视频| 中文字幕av一区二区三区高 | 亚洲三级电影全部在线观看高清| 欧美理论在线播放| 中文成人av在线| 日韩极品在线观看| 97久久超碰国产精品电影| 欧美精品一区二区三区四区| 亚洲一区视频在线| av一区二区三区黑人| 久久综合九色综合97婷婷| 亚洲国产aⅴ成人精品无吗| 91色.com| 国产欧美精品一区二区三区四区| 日本中文字幕一区二区视频| 91免费国产在线观看| 26uuu亚洲| 免费人成网站在线观看欧美高清| 最新高清无码专区| 欧美美女bb生活片| 一本久久综合亚洲鲁鲁五月天 | 一本一道久久a久久精品综合蜜臀| 日韩视频在线永久播放| 一区二区三区美女视频| 91免费版在线看| 一区二区三区四区精品在线视频 | 久久先锋影音av鲁色资源网| 婷婷久久综合九色综合伊人色| 色婷婷亚洲综合| 亚洲精品国产a| 欧美日韩一卡二卡三卡| 日韩精品高清不卡| 91精品久久久久久久久99蜜臂| 天堂va蜜桃一区二区三区 | 久久久精品蜜桃| 色综合色综合色综合色综合色综合 | 欧美高清在线精品一区| 成人自拍视频在线| 久久精品人人做人人爽人人| 蜜桃视频在线观看一区| 欧洲精品在线观看| 国产成人在线影院| 色综合咪咪久久| 欧美本精品男人aⅴ天堂| 欧美日韩国产综合久久| 一区二区欧美国产| 91黄视频在线| 亚洲一区二区三区激情| 欧美影视一区二区三区| 午夜久久福利影院| 91精品国产色综合久久久蜜香臀| 亚洲福利一区二区| 91精品国产黑色紧身裤美女| 日韩成人一级片| 日韩欧美成人激情| 6080午夜不卡| av中文字幕亚洲| 蜜臀av性久久久久蜜臀av麻豆 | 五月天视频一区| 国产欧美一区二区精品久导航| 国产又黄又大久久| 一二三区精品视频| 中文字幕一区av| 久久品道一品道久久精品| 欧美日韩在线播放一区| 91原创在线视频| 欧美精品一区二区在线播放| 蜜桃视频一区二区三区 | 色综合天天综合网天天看片| 亚洲欧洲一区二区在线播放| 欧美在线免费观看亚洲| 美女一区二区在线观看| 亚洲国产精品99久久久久久久久| 日韩欧美中文字幕公布| 色爱区综合激月婷婷| 欧美吻胸吃奶大尺度电影| 蜜臀久久99精品久久久画质超高清| 精品国产一区二区三区av性色 | 成人午夜激情视频| 亚洲欧美日韩国产中文在线| 欧美日韩国产综合久久| 国产乱对白刺激视频不卡| 一色屋精品亚洲香蕉网站| 一区二区三区在线视频观看58 | 国产美女久久久久| 亚洲美女电影在线| 91精品欧美久久久久久动漫| 国产精品18久久久久久久久久久久 | 人人超碰91尤物精品国产| 久久久国产综合精品女国产盗摄| 91成人在线观看喷潮| 韩国欧美一区二区| 亚洲精品国产高清久久伦理二区| 日韩一区二区不卡| 一本色道久久综合亚洲aⅴ蜜桃| 久久电影国产免费久久电影| 亚洲天堂网中文字| 精品粉嫩aⅴ一区二区三区四区| 一本色道**综合亚洲精品蜜桃冫| 精品一区二区三区免费视频| 亚洲激情网站免费观看| 日本一二三不卡| 日韩一区二区三免费高清| 色欧美日韩亚洲| 不卡视频免费播放|