public class SimpleMultiThreading extends Object
Constructor and Description |
---|
SimpleMultiThreading() |
Modifier and Type | Method and Description |
---|---|
static Vector<Chunk> |
divideIntoChunks(long imageSize,
int numThreads) |
static Thread[] |
newThreads() |
static Thread[] |
newThreads(int numThreads) |
static void |
start(Thread[] threads) |
static void |
startAndJoin(Thread[] threads) |
static void |
startTask(Runnable run) |
static void |
startTask(Runnable run,
int numThreads) |
static void |
threadHaltUnClean() |
static void |
threadWait(long milliseconds) |
public static void startTask(Runnable run)
public static void startTask(Runnable run, int numThreads)
public static Thread[] newThreads()
public static Thread[] newThreads(int numThreads)
public static void startAndJoin(Thread[] threads)
public static void start(Thread[] threads)
public static void threadHaltUnClean()
public static void threadWait(long milliseconds)
Copyright © 2015–2021 Fiji. All rights reserved.