Multithreading refers to the process of executing multiple threads simultaneously. A thread can be considered as a smaller unit of processing. Both multithreading and multiprocessing can be used to achieve multitasking. But in multithreading, threads use shared memory and context switching takes very less time. Multithreading is mostly used in applications related to games and animations.
Subscribe to:
Posts (Atom)
Some Algorithms
Algorithm: Tower of Hanoi
Tower of Hanoi consists of three towers called as pegs with n number of rings. Rings are of different size. Conditions to be fulfill...
Popular Posts
-
Hibernate is an open source lightweight, Object Relational Mapping framework to interact Java classes with databases. It implements the spec...
-
In this lesson, we will see how we can use the executor service in a real-life scenario. We will use the worker threads to execute a task an...
-
Nowadays in some office, it is required to stay on your desk and work for office hours. The employees are being tracked depending upon the l...
No comments:
Post a Comment