代码搜索:thread
找到约 10,000 项符合「thread」的源代码
代码结果 10,000
www.eeworm.com/read/159715/5581921
inl thread.inl
/**
* @file rtems/score/thread.inl
*
* This file contains the macro implementation of the inlined
* routines from the Thread handler.
*/
/*
* COPYRIGHT (c) 1989-2006.
* On-Line Applicat
www.eeworm.com/read/159023/5589053
h thread.h
/*
* Copyright 2003,2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
www.eeworm.com/read/152843/5659881
h thread.h
#ifndef __UM_THREAD_H
#define __UM_THREAD_H
#include
#define TASK_DEBUGREGS(task) ((unsigned long *) &(((char *) (task))[HOST_TASK_DEBUGREGS]))
#ifdef UML_CONFIG_MODE_TT
#define T
www.eeworm.com/read/152843/5659918
h thread.h
#ifndef __UM_THREAD_H
#define __UM_THREAD_H
#include
#ifdef UML_CONFIG_MODE_TT
#define TASK_EXTERN_PID(task) *((int *) &(((char *) (task))[HOST_TASK_EXTERN_PID]))
#endif
#endif
www.eeworm.com/read/341139/6789099
java thread.java
import java.lang.Thread;
class mythread extends Thread{
mythread(String str){
super(str);
this.start();
}
public void run(){
int i;
for(i=1;i
www.eeworm.com/read/475101/6803574
h thread.h
// thread.h
// Data structures for managing threads. A thread represents
// sequential execution of code within a program.
// So the state of a thread includes the program counter,
// the processor
www.eeworm.com/read/472254/6874057
h thread.h
// 线程对象封装
//
#ifndef _THREAD_INCLUDE_
#define _THREAD_INCLUDE_
class CThread
{
private:
static DWORD WINAPI ThreadProc(LPVOID pVoid);
protected:
BOOL m_bTerminated; // 线程是否终止的标志
virtu
www.eeworm.com/read/472254/6874059
cpp thread.cpp
// 线程对象封装
//
#include "stdafx.h"
#include "Thread.h"
CThread::CThread(void)
{
m_bTerminated = FALSE;
DWORD dwThreadID;
m_hThread = CreateThread(NULL, 0, ThreadProc, this, CREATE_SUSPEND
www.eeworm.com/read/472254/6874062