⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gnumakefile

📁 pthread source code,you can compile directly
💻
📖 第 1 页 / 共 2 页
字号:
## --------------------------------------------------------------------------##      Pthreads-win32 - POSIX Threads Library for Win32#      Copyright(C) 1998 John E. Bossom#      Copyright(C) 1999,2005 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#DLL_VER	= 2DLL_VERD= $(DLL_VER)dDEVROOT	= C:\PTHREADSDLLDEST	= $(DEVROOT)\DLLLIBDEST	= $(DEVROOT)\DLL# If Running MsysDTKRM	= rm -fMV	= mv -fCP	= cp -f# If not.#RM	= erase#MV	= rename#CP	= copy# For cross compiling use e.g.# make CROSS=i386-mingw32msvc- clean GC-inlinedCROSS	= AR	= $(CROSS)arDLLTOOL = $(CROSS)dlltoolCC      = $(CROSS)gccCXX     = $(CROSS)g++RANLIB  = $(CROSS)ranlibRC	= $(CROSS)windresOPT	= $(CLEANUP) -O3 -finline-functionsDOPT	= $(CLEANUP) -g -O0XOPT	=RCFLAGS		= --include-dir=.LFLAGS		= -lwsock32# ----------------------------------------------------------------------# The library can be built with some alternative behaviour to# facilitate development of applications on Win32 that will be ported# to other POSIX systems. Nothing definable here will make the library# non-compliant, but applications that make assumptions that POSIX# does not garrantee may fail or misbehave under some settings.## PTW32_THREAD_ID_REUSE_INCREMENT# Purpose:# POSIX says that applications should assume that thread IDs can be# recycled. However, Solaris and some other systems use a [very large]# sequence number as the thread ID, which provides virtual uniqueness.# Pthreads-win32 provides pseudo-unique IDs when the default increment# (1) is used, but pthread_t is not a scalar type like Solaris's.## Usage:# Set to any value in the range: 0 <= value <= 2^wordsize## Examples:# Set to 0 to emulate non recycle-unique behaviour like Linux or *BSD.# Set to 1 for recycle-unique thread IDs (this is the default).# Set to some other +ve value to emulate smaller word size types# (i.e. will wrap sooner).##PTW32_FLAGS	= "-DPTW32_THREAD_ID_REUSE_INCREMENT=0"## ----------------------------------------------------------------------GC_CFLAGS	= $(PTW32_FLAGS) GCE_CFLAGS	= $(PTW32_FLAGS) -mthreads## Mingw32MAKE		= makeCFLAGS	= $(OPT) $(XOPT) -I. -DHAVE_CONFIG_H -WallDLL_INLINED_OBJS	= \		pthread.o \		version.o# Agregate modules for inlinabilityDLL_OBJS	= \		attr.o \		barrier.o \		cancel.o \		cleanup.o \		condvar.o \		create.o \		dll.o \		errno.o \		exit.o \		fork.o \		global.o \		misc.o \		mutex.o \		nonportable.o \		private.o \		rwlock.o \		sched.o \		semaphore.o \		signal.o \		spin.o \		sync.o \		tsd.o \		version.o# Separate modules for minimum size statically linked imagesSMALL_STATIC_OBJS	= \		pthread_attr_init.o \		pthread_attr_destroy.o \		pthread_attr_getdetachstate.o \		pthread_attr_setdetachstate.o \		pthread_attr_getstackaddr.o \		pthread_attr_setstackaddr.o \		pthread_attr_getstacksize.o \		pthread_attr_setstacksize.o \		pthread_attr_getscope.o \		pthread_attr_setscope.o \		pthread_attr_setschedpolicy.o \		pthread_attr_getschedpolicy.o \		pthread_attr_setschedparam.o \		pthread_attr_getschedparam.o \		pthread_attr_setinheritsched.o \		pthread_attr_getinheritsched.o \		pthread_barrier_init.o \		pthread_barrier_destroy.o \		pthread_barrier_wait.o \		pthread_barrierattr_init.o \		pthread_barrierattr_destroy.o \		pthread_barrierattr_setpshared.o \		pthread_barrierattr_getpshared.o \		pthread_setcancelstate.o \		pthread_setcanceltype.o \		pthread_testcancel.o \		pthread_cancel.o \		cleanup.o \		pthread_condattr_destroy.o \		pthread_condattr_getpshared.o \		pthread_condattr_init.o \		pthread_condattr_setpshared.o \		pthread_cond_destroy.o \		pthread_cond_init.o \		pthread_cond_signal.o \		pthread_cond_wait.o \		create.o \		dll.o \		errno.o \		pthread_exit.o \		fork.o \		global.o \		pthread_mutex_init.o \		pthread_mutex_destroy.o \		pthread_mutexattr_init.o \		pthread_mutexattr_destroy.o \		pthread_mutexattr_getpshared.o \		pthread_mutexattr_setpshared.o \		pthread_mutexattr_settype.o \		pthread_mutexattr_gettype.o \		pthread_mutex_lock.o \		pthread_mutex_timedlock.o \		pthread_mutex_unlock.o \		pthread_mutex_trylock.o \		pthread_mutexattr_setkind_np.o \		pthread_mutexattr_getkind_np.o \		pthread_getw32threadhandle_np.o \		pthread_delay_np.o \		pthread_num_processors_np.o \		pthread_win32_attach_detach_np.o \		pthread_equal.o \		pthread_getconcurrency.o \		pthread_once.o \		pthread_self.o \		pthread_setconcurrency.o \		pthread_rwlock_init.o \		pthread_rwlock_destroy.o \		pthread_rwlockattr_init.o \		pthread_rwlockattr_destroy.o \		pthread_rwlockattr_getpshared.o \		pthread_rwlockattr_setpshared.o \		pthread_rwlock_rdlock.o \		pthread_rwlock_wrlock.o \		pthread_rwlock_unlock.o \		pthread_rwlock_tryrdlock.o \		pthread_rwlock_trywrlock.o \		pthread_setschedparam.o \		pthread_getschedparam.o \		pthread_timechange_handler_np.o \		ptw32_is_attr.o \		ptw32_cond_check_need_init.o \		ptw32_MCS_lock.o \		ptw32_mutex_check_need_init.o \		ptw32_processInitialize.o \		ptw32_processTerminate.o \		ptw32_threadStart.o \		ptw32_threadDestroy.o \		ptw32_tkAssocCreate.o \		ptw32_tkAssocDestroy.o \		ptw32_callUserDestroyRoutines.o \		ptw32_timespec.o \		ptw32_throw.o \		ptw32_InterlockedCompareExchange.o \		ptw32_getprocessors.o \		ptw32_calloc.o \		ptw32_new.o \		ptw32_reuse.o \		ptw32_semwait.o \		ptw32_relmillisecs.o \		ptw32_rwlock_check_need_init.o \		sched_get_priority_max.o \		sched_get_priority_min.o \		sched_setscheduler.o \		sched_getscheduler.o \		sched_yield.o \		sem_init.o \		sem_destroy.o \		sem_trywait.o \		sem_timedwait.o \		sem_wait.o \		sem_post.o \		sem_post_multiple.o \		sem_getvalue.o \		sem_open.o \		sem_close.o \		sem_unlink.o \		signal.o \		pthread_kill.o \		ptw32_spinlock_check_need_init.o \		pthread_spin_init.o \		pthread_spin_destroy.o \		pthread_spin_lock.o \		pthread_spin_unlock.o \		pthread_spin_trylock.o \		pthread_detach.o \		pthread_join.o \		pthread_key_create.o \		pthread_key_delete.o \		pthread_setspecific.o \		pthread_getspecific.o \		w32_CancelableWait.o \		version.oINCL	= \		config.h \		implement.h \		semaphore.h \		pthread.h \		need_errno.hATTR_SRCS	= \		pthread_attr_init.c \		pthread_attr_destroy.c \		pthread_attr_getdetachstate.c \		pthread_attr_setdetachstate.c \		pthread_attr_getstackaddr.c \		pthread_attr_setstackaddr.c \		pthread_attr_getstacksize.c \		pthread_attr_setstacksize.c \		pthread_attr_getscope.c \		pthread_attr_setscope.cBARRIER_SRCS = \		pthread_barrier_init.c \		pthread_barrier_destroy.c \		pthread_barrier_wait.c \		pthread_barrierattr_init.c \		pthread_barrierattr_destroy.c \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -