Multithreading: A Review

Authors

  • Ankit Sharma Department of Computer Science and Engineering, Dronacharya College of Engineering, Farrukhnagar, India

DOI:

https://doi.org/10.37591/jospa.v2i3.565

Keywords:

Multithreading, multitasking, runnable, newborn

Abstract

Java provides support for multithreaded programming. Multithreading is a powerful programming tool that makes java different from other programming languages. Multithreading is basically used in multitasking environment. Threads are lightweight weight process and share the same address space. We can create a thread by two methods: by extending thread class or by implementing runnable interface. Every thread has a life cycle. The stages in which a thread can enter are newborn, runnable, running, blocked and dead state. By multithreading we can write efficient programs that make maximum use of the CPU.

Cite this Article
Sharma A. Multithreading: A Review. Journal of Advances in Shell Programming. 2015; 2(3): 1–4p.

References

The Complete Reference Java. (Book)

Programming with Java: A Primer. (Book)

Watfa M, Yaghi L. An Efficient Online-Battery Aware Geographic Routing Algorithm for Wireless Sensor Networks. Int J Commun Syst. 2010; 23(1): 41–61p.

Ma Y, Guo Y, Ghanem M. RECA: Referenced Energy-Based CDS Algorithm in Wireless Sensor Networks. Int J Commun Syst. 2010; 23(1): 125–138p.

Fang S, Berber SM, Swain AK. Energy Distribution-Aware Clustering Algorithm for Dense Wireless Sensor Networks. Int J Commun Syst. 2010; 23(9/10): 1223–1251p.

Ahmadi M, He L, Pan J, et al. A Partition-Based Data Gathering Scheme for Wireless Sensor Networks with a Mobile Sink. Proceeding of IEEE International Conference on Communications (IEEE ICC 2012). 2012; 508–512p.

Shah R, Roy S, Jain S, et al. Data Mules: Modeling and Analysis of a Three-Tier Architecture for Sparse Sensor Networks. Ad Hoc Networks. 2003; 1(2/3): 215–233p.

Chakrabarti A, Sabharwal A, Aazhang B. Using Predictable Observer Mobility for Power Efficient Design of Sensor Networks. http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.79.5866&rep=rep1&type=pdf

Published

2015-12-22

Issue

Section

Research Articles