Open Access Open Access  Restricted Access Subscription Access

Multithreading: A Review

Ankit Sharma

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.


Keywords


Multithreading, multitasking, runnable, newborn

Full Text:

PDF

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


Refbacks

  • There are currently no refbacks.


This site has been shifted to https://stmcomputers.stmjournals.com/