代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/168845/5434599
cpp shared_ptr_mt_test.cpp
#include
#if defined(BOOST_MSVC)
#pragma warning(disable: 4786) // identifier truncated in debug info
#pragma warning(disable: 4710) // function not inlined
#pragma warning(
www.eeworm.com/read/163883/5507004
export
algorithm
bitset
cassert
cctype
cerrno
cfloat
climits
clocale
cmath
complex
config
csetjmp
csignal
cstd
cstdarg
cstddef
cstdio
cstdlib
cstring
ctime
cwchar
cwctype
deque
fstream
www.eeworm.com/read/162614/5516083
t-aix52
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp
www.eeworm.com/read/162614/5516177
t-aix43
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
DPBIT = dp-bit.c
dp-bit.c: $(srcdir)/config/fp-bit.c
cat $(srcdir)/config/fp
www.eeworm.com/read/159023/5589061
h threadspecificdata.h
/*
* Copyright 2003,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
www.eeworm.com/read/295484/8159679
makefile
TOPDIR = ../
include $(TOPDIR)Rules.mak
EXTRA_LIBS += -lpthread
EXEC= $(INSTALL_DIR)/pthread ./pthread
OBJS= pthread.o
all: $(EXEC)
$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(EXTRA_LIBS)
www.eeworm.com/read/295484/8159690
bak makefile.bak
TOPDIR = ../
include $(TOPDIR)Rules.mak
EXTRA_LIBS += -lpthread
EXEC= $(INSTALL_DIR)/pthread
OBJS= pthread.o
all: $(EXEC)
$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(EXTRA_LIBS)
install:
www.eeworm.com/read/267540/11175206
txt 信号量.txt
4.4 信号量
信号量本质上是一个非负的整数计数器,它被用来控制对公共资源的访问。当公共资源增加时,调用函数sem_post()增加信号量。只有当信号量值大于0时,才能使用公共资源,使用后,函数sem_wait()减少信号量。函数sem_trywait()和函数<mark>pthread</mark>_ mutex_trylock()起同样的作用,它是函数sem_wait()的非阻塞版本。下面我们逐个介绍和信号量有关 ...
www.eeworm.com/read/265891/11250792
makefile
TOPDIR = ../
include $(TOPDIR)Rules.mak
EXTRA_LIBS += -lpthread
EXEC= $(INSTALL_DIR)/pthread ./pthread
OBJS= pthread.o
all: $(EXEC)
$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(EXTRA_LIBS)
www.eeworm.com/read/249376/12508092
makefile
TOPDIR = ../
include $(TOPDIR)Rules.mak
EXTRA_LIBS += -lpthread
EXEC= $(INSTALL_DIR)/pthread ./pthread
OBJS= pthread.o
all: $(EXEC)
$(EXEC): $(OBJS)
$(CC) $(LDFLAGS) -o $@ $(OBJS) $(EXTRA_LIBS)