代码搜索:Threads
找到约 7,387 项符合「Threads」的源代码
代码结果 7,387
www.eeworm.com/read/204713/5030114
java roundrobin.java
package testurt;
import jopurt.*;
import util.Dbg;
import util.Timer;
public class RoundRobin extends Scheduler {
/**
* test threads
*/
static class Work extends RtUserThread {
int c;
Work(i
www.eeworm.com/read/204713/5030133
java gctest4.java
package gctest;
import joprt.RtThread;
import util.Dbg;
import com.jopdesign.sys.*;
// A test of the GCStackWalker. A concurrent test.
// Tests if some threads (three) can keep the reference to an o
www.eeworm.com/read/193974/5138302
py test_threading.py
# Very rudimentary test of threading module
# Create a bunch of threads, let each do some work, wait until all are done
from test_support import verbose
import random
import threading
import time
#
www.eeworm.com/read/190666/5180513
java thread_wait_interrupt.java
// Create two threads waiting on a monitor. Interrupt one of them. Does the
// other wake up correctly?
// Origin: Bryce McKinlay
class Waiter extends Thread
{
Object monit
www.eeworm.com/read/180227/5287984
rtl readme.rtl
This module allows RT-threads to communicate via serial ports.
The documentation is in the *.html files.
testcom.c and com_posix.c demonstrate basic communication.
They send and receive data through
www.eeworm.com/read/169697/5412055
i mpe_funcs.i
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
/*
* Threads
*/
#define MPID_Thread_create(func_, dat
www.eeworm.com/read/169190/5428279
readme
Leader MPM:
This is an experimental variant of the standard worker MPM.
It uses a Leader/Followers design pattern to coordinate work among threads:
http://deuce.doc.wustl.edu/doc/pspdfs/lf.pdf
To use
www.eeworm.com/read/349885/3137498
java asyncprocessor.java
package org.sreid.j2me.util;
import java.util.*;
/**
* AsyncProcessor for handing off tasks to asynchronous worker threads.
* Construct one, then call enqueueJob(Runnable job) to run job in the b
www.eeworm.com/read/341021/3258350
i mpe_funcs.i
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
/*
* Threads
*/
#define MPID_Thread_create(func_, dat
www.eeworm.com/read/340665/3281658
java thread_wait_interrupt.java
// Create two threads waiting on a monitor. Interrupt one of them. Does the
// other wake up correctly?
// Origin: Bryce McKinlay
class Waiter extends Thread
{
Object monit