代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/353472/10444419
txt uart.c.txt
#include
#include
#include
#include
#include
#include
#include
#i
www.eeworm.com/read/446218/7583714
h thread.h
#ifndef _THREAD_H_
#define _THREAD_H_
#include
class Thread
{
public:
Thread(int id = 0);
virtual ~Thread();
virtual void start();
virtual void stop();
virtual v
www.eeworm.com/read/242863/12976601
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/323676/13326895
cpp thread.cpp
#include "thread.h"
Thread::Thread()
{}
int Thread::Start(void *arg)
{
Arg(arg); //store user data
int code = pthread_create(&PthreadId_,NULL,Thread::EntryPoint,arg);
return cod
www.eeworm.com/read/132748/5909466
c pt-cond-init.c
/* pthread_cond_init. Generic version.
Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it
www.eeworm.com/read/132748/5909469
c pt-attr-setschedparam.c
/* pthread_attr_getschedparam. Generic version.
Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistr
www.eeworm.com/read/132748/5909472
c pt-attr-setschedpolicy.c
/* pthread_attr_getschedpolicy. Generic version.
Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redist
www.eeworm.com/read/132748/5909483
c pt-once.c
/* pthread_once. Generic version.
Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/o
www.eeworm.com/read/132748/5909496
c pt-destroy-specific.c
/* __pthread_destory_specific. Generic version.
Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistr
www.eeworm.com/read/132748/5909596
h pt-key.h
/* pthread_key internal declatations for the Hurd version.
Copyright (C) 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you c