Basic HTML version of Foils prepared 18 May 97

Foil 5 Thread Execution and Concurrency

From Java Tutorial - Spring 1997 Part 4: Multithreading, useful Java classes, I/O, Networking, and the future Peking Tutorial, Web Certificate -- Spring-Summer 1997. by Nancy J. McCracken,Geoffrey C. Fox


Threads enable you to have multiple flows of control, running concurrently.
Concurrency does not necessarily mean that threads actually run at the same time, but that the Java interpreter switches between threads.
Threads may also be assigned priority, in which case the higher priority thread may pre-empt the lower one.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Jan 8 1998