代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/100768/7114681
c socketchat.c
/*
Version: 0.2.0(stable)
Author: Computer_xu
Email: Computer_xu@sina.com
HomePage: http://www.socketchat.com
LastModify: 2001-05-07 (yyyy-mm-dd)
*/
#include "socketchat.h"
int sockfd;
www.eeworm.com/read/347553/7125645
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/347553/7125651
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/347553/7125668
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/347553/7125671
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/347553/7125674
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/347553/7125677
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/347553/7125688
makefile
###########################################################
# An example source module to accompany...
#
# "Using POSIX Threads: Programming with Pthreads"
# by Brad nichols, Dick Buttlar, Jackie
www.eeworm.com/read/446218/7583717
cpp mutex.cpp
#include
#include "mutex.h"
Mutex::Mutex()
:m_pmutex(0),
m_isOwner(true)
{
m_pmutex = new pthread_mutex_t;
if (pthread_mutex_init(m_pmutex, 0) == 0)
{
//ok
www.eeworm.com/read/442167/7657819
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)