代码搜索:thread
找到约 10,000 项符合「thread」的源代码
代码结果 10,000
www.eeworm.com/read/468555/6992583
java sleepinterrupt.java
public class SleepInterrupt extends Object implements Runnable {
public void run() {
try {
System.out.println(
"in run() - about to sleep for 20 seconds");
Thread.sleep(20000);
www.eeworm.com/read/468555/6992671
java cubbyholemain.java
public class CubbyHoleMain extends Object {
private static void print(String msg) {
String name = Thread.currentThread().getName();
System.out.println(name + ": " + msg);
}
public static
www.eeworm.com/read/468555/6992873
java twothreadgetname.java
public class TwoThreadGetName extends Thread {
public void run() {
for ( int i = 0; i < 10; i++ ) {
printMsg();
}
}
public void printMsg() {
// get a reference to the thread runni
www.eeworm.com/read/466955/7024833
c bo6-3.c
/* bo6-3.c 二叉树的二叉线索存储(存储结构由c6-3.h定义)的基本操作 */
Status CreateBiThrTree(BiThrTree *T)
{ /* 按先序输入二叉线索树中结点的值,构造二叉线索树T */
/* 0(整型)/空格(字符型)表示空结点 */
TElemType h;
#if CHAR
scanf("%c",&h);
#
www.eeworm.com/read/466324/7032887
java exercise28_3server.java
// Exercise28_3Server.java: The server can communicate with
// multiple clients concurrently using the multiple threads
import java.io.*;
import java.net.*;
import java.util.*;
import java.awt.*;
impo
www.eeworm.com/read/465128/7058672
java player.java
import java.io.File;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.DataLine;
import jav
www.eeworm.com/read/243080/7093209
h asyncio.h
//------------------------------------------------------------------------------
// File: AsyncIo.h
//
// Desc: DirectShow sample code - base library for I/O functionality.
//
// Copyright (c) Mi
www.eeworm.com/read/462593/7119164
s switch.s
/* switch.s
* Machine dependent context switch routines. DO NOT MODIFY THESE!
*
* Context switching is inherently machine dependent, since
* the registers to be saved, how to set up an initi