代码搜索:thread
找到约 10,000 项符合「thread」的源代码
代码结果 10,000
www.eeworm.com/read/192075/5160287
rss thread_reg.rss
/*
* ============================================================================
* Name : Thread_reg.rss Thread caption file
* Part of : Thread
* Created : 12.1.2005 by Forum Nokia
* V
www.eeworm.com/read/190666/5180434
java thread_sleep.java
// Test that Thread.sleep() works.
// Origin: Bryce McKinlay
public class Thread_Sleep
{
public static void main(String args[])
{
try
{
long start = System.c
www.eeworm.com/read/190666/5180518
out thread_interrupt.out
wait()
interrupted - ok
sleep()
interrupted - ok
Busy waiting
interrupted - ok
join()
interrupted - ok
www.eeworm.com/read/190666/5180543
java thread_monitor.java
// Test that monitor locks work and are recursive.
// Origin: Bryce McKinlay
class T implements Runnable
{
public int count = 0;
Counter c;
public T (Counter c)
{
www.eeworm.com/read/190666/5180545
java thread_join.java
// Many threads join a single thread.
// Origin: Bryce McKinlay
class Sleeper implements Runnable
{
int num = -1;
public Sleeper(int num)
{
this.num = num;
}