Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
7Activity
0 of .
Results for:
No results containing your search query
P. 1
Threads

Threads

Ratings:
(0)
|Views: 308|Likes:
Published by api-3704028

More info:

Published by: api-3704028 on Oct 14, 2008
Copyright:Attribution Non-commercial

Availability:

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

03/18/2014

pdf

text

original

Threads - Overview
What is a thread ?
\ue000single flow of control
\ue000is a kind of a \u201clight-
weight process\u201d
\ue000every Java program
consists of threads
\ue000application

programmers can
create and
manipulate threads

Basics
\ue000

In the JVM, there is a main memory, which is shared
between all threads, and each thread has its own
private working memory, no thread can access other
threads working memory.

\ue000
Threads take their turns in performing instructions by
sharing the CPU time between them.
\ue000

How and when one of the threads is scheduled (or de- scheduled) for execution is dictated by the scheduler, which depends on the operating system

\ue000
Preemptive(win3.x, early Mac OS)
\ue000
Co-operative(winNT etc.)

Activity (7)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
bidyutarpita liked this
John Abaya liked this
goldgoldsmail liked this
mca_saravanan liked this
wader 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)//-->