Free Jobs
Reference




Java Forums: Core Java (15) J2EE (3) EJB (5) Servlet (3) JDBC (6) Hibernate (2) Struts (1) Swing (1) Oracle (7) JSP (4) Other (10)

Topic: Explain synchronization in the context of Multithreading

To get the Posted Questions details daily in your mail Click Here

Share this Post on Facebook/Twitter/Orkut Bookmark and Share





User: manishav3388 Post Date: 26 Jan 2011 00:36

Introduction:
Multithreading and synchronization are interrelated concepts of computer
programming mostly applied togather.



Main Content:
Multithreading:
When a single program performs two or more tasks apperently
simulteneously then it is called multithreading.and each unit
of work is called a thread.

Synchronization:
When two or more threads needs access to the same resource at the same time
they need to ensure that only one thread can access the resource at a given point of time.
The process of achieving this condition is called Synchronization.


Conclusion:
Thus generally when there is multithreading present ,Synchronization
between the threads is required.



About Writer:
hello,I am JAVA Developer from Noida.


Writer's Link: http://

Writer's Email:







Comments:
Post Comment





Similar Articles Top ArticlesLatest Articles Other Articles by this Author







www.freejobsreference.com Copyright © 2009-2011 | All Rights Reserved
All content of this website is protected by copyright laws and should not be reproduced in any form or by any means without written permission
(Best viewed in IE 8.0+ or Firefox 3.0+ at resolution of 1024 * 768 or higher)