public class MultiThreading extends Object
Title: MultiThreading
Description:
Copyright: Copyright (c) 2007
Company:
License: GPL This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Constructor and Description |
---|
MultiThreading() |
Modifier and Type | Method and Description |
---|---|
static Thread[] |
newThreads() |
static Thread[] |
newThreads(int numThreads) |
static void |
startAndJoin(Thread[] threads) |
static void |
startTask(Runnable run) |
static void |
startTask(Runnable run,
int numThreads) |
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)
Copyright © 2015–2021 Fiji. All rights reserved.