代码搜索:thread
找到约 10,000 项符合「thread」的源代码
代码结果 10,000
www.eeworm.com/read/175933/9525120
test thread2.test
# 2006 January 14
#
# The author disclaims copyright to this source code. In place of
# a legal notice, here is a blessing:
#
# May you do good and not evil.
# May you find forgiveness for your
www.eeworm.com/read/175933/9525168
test thread1.test
# 2003 December 18
#
# The author disclaims copyright to this source code. In place of
# a legal notice, here is a blessing:
#
# May you do good and not evil.
# May you find forgiveness for you
www.eeworm.com/read/174734/9575062
c attr_thread.c
#include
#include
#include
void thread1(void)
{
int i=0;
for(i=0;i
www.eeworm.com/read/366616/9806809
test thread2.test
# 2006 January 14
#
# The author disclaims copyright to this source code. In place of
# a legal notice, here is a blessing:
#
# May you do good and not evil.
# May you find forgiveness for your
www.eeworm.com/read/366616/9806858
test thread1.test
# 2003 December 18
#
# The author disclaims copyright to this source code. In place of
# a legal notice, here is a blessing:
#
# May you do good and not evil.
# May you find forgiveness for you
www.eeworm.com/read/170391/9808201
h thread_pool.h
#ifndef __THREAD_POOL_H__
#define __THREAD_POOL_H__
#include
#include
#include
#include
#include
#include
#include
www.eeworm.com/read/170391/9808216
cc thread_pool.cc
#include "thread_pool.h"
using namespace std;
thread_pool::thread_pool(int _i, int key) : total(_i)
{
#ifdef __DEBUG
cout
www.eeworm.com/read/169790/9837996
cpp thread1.cpp
#include
#include
#ifdef CCXX_NAMESPACES
using namespace ost;
#endif
// This is a little regression test
//
class ThreadTest: public Thread
{
public:
ThreadTest();
void
www.eeworm.com/read/169790/9838008
cpp thread3.cpp
#include
#include
#include
#include
#ifdef CCXX_NAMESPACES
using namespace std;
using namespace ost;
#endif
// Test if cancellation unwinds stack frame
www.eeworm.com/read/169790/9838038
cpp thread2.cpp
#include
#include
#include
#include
#ifdef CCXX_NAMESPACES
using namespace std;
using namespace ost;
#endif
// Test child thread destroying before fathe