代码搜索:pThread
找到约 7,828 项符合「pThread」的源代码
代码结果 7,828
www.eeworm.com/read/101153/6237771
cpp hello.cpp
#include
pthread_t thread;
class A {
protected:
int a;
public:
virtual void print()=0;
A() { a = 1; rtl_printf("initializing A\n");}
virtual ~A() { rtl_printf("uninitializing A\n");
www.eeworm.com/read/486785/6528495
makefile
#!/bin/sh
CXX = g++
CXXFLAGS= -g -Wall
LDFLAGS = -L.
EXECUTABLE = sdkdemo
LIBS = hcnetsdk pthread
SOURCES = $(wildcard *.cpp)
OBJS = $(subst .cpp,.o,$(SOURCES))
DEPS = $(subst .cpp,.d,$(SOURCES))
www.eeworm.com/read/263759/11343975
h osmutex.h
#ifndef _COMPUNICATE_OSMUTEX_H_
#define _COMPUNICATE_OSMUTEX_H_
#include
#include "OSHead.h"
#ifdef __REDHATLINUX__
#include
#endif
// class OSCond;
class
www.eeworm.com/read/341017/12113726
hpp sputils.hpp
/*
* Copyright 2007 Stephen Liu
* For license terms, see the file COPYING along with this library.
*/
#ifndef __sputils_hpp__
#define __sputils_hpp__
#include
class SP_ArrayList {
pu
www.eeworm.com/read/121084/14770134
txt dougan.txt
Measuring Periodic Task Scheduling
by Cort Dougan
Listing 1
#
# Copyright (C) Cort Dougan, 2003
# Cort Dougan
#
#include
#include
#include
www.eeworm.com/read/14278/326433
c thread_join.c
#include
#include
#include
void *thread(void *str)
{
int i;
for (i = 0; i < 3; ++i)
{
sleep(2);
printf( "This in the thread : %d\n
www.eeworm.com/read/481405/1297077
cpp warthreadunix.cpp
#include "StdAfx.h"
#include "WarThread.h" // class implemented
// Unix/Pthreads spesific part of WarThread
#ifndef THREAD_PTHREAD
# error "Need ptheards"
#endif
#ifndef WAR_SIGNAL_H_INCLUDED
#
www.eeworm.com/read/479931/1327358
c rtsigprocmask2.c
/* As the included file, but specifying silent ENOSYS.
#notarget: cris*-*-elf
#cc: additional_flags=-pthread
#sim: --cris-unknown-syscall=enosys-quiet
#output: ENOSYS\n
#output: xyzzy\n
*/
#include "
www.eeworm.com/read/479931/1327433
c sigreturn4.c
/* As the included file, but specifying silent ENOSYS.
#notarget: cris*-*-elf
#cc: additional_flags=-pthread
#sim: --cris-unknown-syscall=enosys-quiet
#output: ENOSYS\n
#output: xyzzy\n
*/
#include "
www.eeworm.com/read/470917/1439109
versions
libc {
GLIBC_2.3.2 {
__register_atfork;
}
GLIBC_PRIVATE {
__libc_pthread_init;
__libc_current_sigrtmin_private; __libc_current_sigrtmax_private;
__libc_allocate_rtsig_private;