代码搜索:threadtest
找到约 1,334 项符合「threadtest」的源代码
代码结果 1,334
www.eeworm.com/read/318367/13480299
cpp stdafx.cpp
// stdafx.cpp : 只包括标准包含文件的源文件
// threadTest.pch 将成为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
//引用任何所需的附加头文件,而不是在此文件中引用
www.eeworm.com/read/315789/13536603
txt chap9-4.txt
// 程序9-4
class threadTest extends Thread{// 定义一个thread的子类
threadTest(String str){
super(str); // 调用父类构造函数设置线程的名字
}
public void run( ){
try{
Thread
www.eeworm.com/read/123865/6056997
cpp stdafx.cpp
// stdafx.cpp : source file that includes just the standard includes
// ThreadTest.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdaf
www.eeworm.com/read/158628/11597496
java threadmaintest.java
package ch01.section10;
public class ThreadMainTest {
public static void main(String[] args) {
for (int i = 0; i < 5; i++) {
//启动各个线程
new ThreadTest().start();
}
n
www.eeworm.com/read/260856/11692583
java synthreaddemo.java
//线程同步演示
public class SynThreadDemo
{
public static void main(String aregs[])
{
ThreadTest t = new ThreadTest() ;
new Thread(t).start();
new Thread(t).start();
www.eeworm.com/read/254578/12129618
txt example73runnable2.txt
public class ThreadTest implements Runnable{
public ThreadTest(){
Thread myThread= new Thread(this);
myThread.start() ;
}
public void run() {
www.eeworm.com/read/254577/12129802
txt example73runnable2.txt
public class ThreadTest implements Runnable{
public ThreadTest(){
Thread myThread= new Thread(this);
myThread.start() ;
}
public void run() {
www.eeworm.com/read/117410/14924259
cpp stdafx.cpp
// stdafx.cpp : source file that includes just the standard includes
// ThreadTest.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdaf
www.eeworm.com/read/117410/14924311
cpp stdafx.cpp
// stdafx.cpp : source file that includes just the standard includes
// ThreadTest.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdaf