代码搜索:pThread

找到约 7,828 项符合「pThread」的源代码

代码结果 7,828
www.eeworm.com/read/347594/11657029

cpp bwdmas.cpp

#include "msystem.h" #include "BWDMas.h" void* BWDMaster(void *pVoid)//Period and Cycle for PRM=1; Wait IND for PRM=0 { CBWDMas *pAS = (CBWDMas *)pVoid; pthread_setcancelstate(PTHREAD_CANCEL_ENABLE
www.eeworm.com/read/128880/14274121

h semaphore.h

/* include semaphoreh */ /* 4the fundamental datatype */ typedef struct { pthread_mutex_t sem_mutex; /* lock to test and set semaphore value */ pthread_cond_t sem_cond; /* for transition from 0 t
www.eeworm.com/read/290808/3970832

c example02.c

#include "unpthread.h" #define NLOOP 5000 int counter; /* incremented by threads */ pthread_mutex_t counter_mutex = PTHREAD_MUTEX_INITIALIZER; void *doit(void *); int main(int argc, char **arg
www.eeworm.com/read/375190/2726812

hpp recursive_mutex.hpp

#ifndef BOOST_THREAD_PTHREAD_RECURSIVE_MUTEX_HPP #define BOOST_THREAD_PTHREAD_RECURSIVE_MUTEX_HPP // (C) Copyright 2007-8 Anthony Williams // Distributed under the Boost Software License, Version 1.0.
www.eeworm.com/read/375190/2726814

hpp once.hpp

#ifndef BOOST_THREAD_PTHREAD_ONCE_HPP #define BOOST_THREAD_PTHREAD_ONCE_HPP // once.hpp // // (C) Copyright 2007-8 Anthony Williams // // Distributed under the Boost Software License, Version 1.0
www.eeworm.com/read/375190/2726815

hpp mutex.hpp

#ifndef BOOST_THREAD_PTHREAD_MUTEX_HPP #define BOOST_THREAD_PTHREAD_MUTEX_HPP // (C) Copyright 2007-8 Anthony Williams // Distributed under the Boost Software License, Version 1.0. (See // accompanyin
www.eeworm.com/read/375190/2726820

hpp shared_mutex.hpp

#ifndef BOOST_THREAD_PTHREAD_SHARED_MUTEX_HPP #define BOOST_THREAD_PTHREAD_SHARED_MUTEX_HPP // (C) Copyright 2006-8 Anthony Williams // // Distributed under the Boost Software License, Version 1.0.
www.eeworm.com/read/366702/2867869

c forced.c

// This test only applies to glibc (NPTL) targets. // { dg-do run { target *-*-linux* } } // { dg-options "-pthread" } #include #include extern "C" int printf (const char *, ..
www.eeworm.com/read/362719/2928718

svn-base concurrentbrain.cpp.svn-base

#include "ConcurrentBrain.h" #include sem_t mailICCheio; LocalGoal mailBoxIC; string mailBoxIC2; LocalGoal mailBoxCI; pthread_mutex_t mutexCI; pthread_mutex_t mutexIC; /*! Esta � a
www.eeworm.com/read/473608/6847025

c prg7_3.c

#include #include #include #define MAXNITEMS 1000000 #define MAXNTHREADS 100 int nitems; struct{ pthread_mutex_t mutex; int buff[MAXNITEMS]; int np