代码搜索:thread
找到约 10,000 项符合「thread」的源代码
代码结果 10,000
www.eeworm.com/read/190666/5180559
java thread_alive.java
// Test the status of the isAlive() flag before, during, and after thread
// execution. Check that thread's threadgroup is null after thread exits.
// Origin: Bryce McKinlay
www.eeworm.com/read/190666/5180568
out thread_wait.out
creating thread
new thread running
notifying other thread
thread notified okay
www.eeworm.com/read/190666/5180585
java thread_interrupt.java
// Test interrupt() behaviour on a thread in wait(), sleep(), and spinning
// in a loop.
// Origin: Bryce McKinlay
class Waiter extends Thread
{
public synchronized void ru
www.eeworm.com/read/190666/5180589
java thread_wait.java
// Test basic thread creation and wait/notify functionality.
// Origin: Bryce McKinlay
public class Thread_Wait implements Runnable
{
public static void main(String args[])
www.eeworm.com/read/190346/5184413
c thread_mutex.c
/* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
* applicable.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c