Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
13Activity
0 of .
Results for:
No results containing your search query
P. 1
Thread

Thread

Ratings: (0)|Views: 163|Likes:
Published by api-3812899

More info:

Published by: api-3812899 on Oct 17, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

03/18/2014

pdf

text

original

Java Programming: Threads
1
Threads and Thread
Synchronization
Threaded Programs
Java Programming: Threads
2
\u2022athread is a flow of control in a program.
\u2022 It is possible to have manyflows at the
same time!
\u2022 Consider what a browser does :
\u2022 retrieve a bunch of documents at once (images

found on a web page).
\u2022 look for user input in the address/location textbox
\u2022render web page

\u2022 run applets/flash/etc.
Java Threads
Java Programming: Threads
3
\u2022Implementation is up to the JVM:

\u2013it's not defined whether a Java thread is mapped
to a something else at the OS level (a native
thread or process), or whether the JVM does
timesharing itself.

\u2022 Every Java program is a threaded program!
\u2013garbage collection runs as a thread.

Activity (13)

You've already reviewed this. Edit your review.
1 hundred reads
bidyutarpita liked this
Ann Juvie Papas liked this
Sinned NuMetal liked this
annanambi liked this
RajPJ liked this
naleena murugan liked this
srrsvava liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->