代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/269397/11099166
cpp device.cpp
//device.cpp
#include "Device.h"
#include
#include "baseclass/publicclass.h"
extern CPublicClass g_PublicClass;
CDevice::CDevice()
{}
CDevice::~CDevice()
{}
bool CDevice::InitDevices(v
www.eeworm.com/read/106368/15638593
h dining.h
#ifndef _DINING_PHILOSOPHERS
#define _DINING_PHILOSOPHERS
#include
using namespace cpp_threads;
class dining {
private:
int philosophers;
Pthread **p;
Semaphore p_finish;
Mutex *
www.eeworm.com/read/100024/15887941
c semaphore.c
void reader_function(void);
void writer_function(void);
char buffer;
Semaphore writers_turn;
Semaphore readers_turn;
main()
{
pthread_t reader;
semaphore_init( &reader
www.eeworm.com/read/388126/8634165
h memrecord.h
/**
* file : MemRecord.h
* comment :
*
*/
#ifndef MemRecord_h
#define MemRecord_h 1
#include
#include
#include
#include
#include
#inc
www.eeworm.com/read/430236/8760316
h thread.h
#ifndef __THREAD_H__
#define __THREAD_H__
#include
#include
#include "types.h"
#define THREAD_RETURN void*
#define THREAD_API
typ
www.eeworm.com/read/428855/8832578
c ring_buffer.c
#include
#include
#include
#include
#include
/*
* The program reads from a text file, each of the threads takes that message
* and wri
www.eeworm.com/read/284401/8935934
h thread.h
#ifndef __THREAD_H__
#define __THREAD_H__
#include
#include
#include "types.h"
#define THREAD_RETURN void*
#define THREAD_API
typ
www.eeworm.com/read/427423/8945987
h thread.h
#ifndef __THREAD_H__
#define __THREAD_H__
#include
#include
#include "types.h"
#define THREAD_RETURN void*
#define THREAD_API
typ
www.eeworm.com/read/465112/6966591
c lwld.c
/*
Speak Freely for Win32
Look Who's Listening Server
This is the Win32 of the LWL daemon.
*/
#include "speakfree.h"
#ifdef THREADS
#include
#define Lock(x) pt
www.eeworm.com/read/464132/7168985
cpp tcpclithr.cpp
#include
#include
#include
#include"../include/mysocket.h"
#include"../include/mythread.h"
#include"../include/TcpCliThr.h"
TcpCliThr::TcpCliThr()
{
ThrSet = new vector