Java Chapter 9 Muti threading ES 26

preview_player
Показать описание
Topic: Java
Time: Dec 7, 2024 06:30 PM India

Join Zoom Meeting

Meeting ID: 891 2178 8006
Passcode: 5sj9Gx

=======================================
Chapter – 9
Multi - Threading
=============
7/12/2024
=========
Single task
=========
it is executing one task at a time
because of waiting time is very high process gives response late

ex:
DOS OS
======

multi task
=======
executing multiple task at the same time simultaneously it will proccess

ex:
Windows os,

2 ways
========

process based multi tasking
=====================
excuting multiple task at the the same time simultaneously separate memory ans resource
ex
===
java program
download songs
listening music
copy software

thread based multi tasking
========================
common memory and resource

ex
==
games
web based app
===================
process
======
a program excution is often referred as process

thead
======
tread is a sub set or subprocess

Multi thread life cycle
================
new
runnable
running
waiting
terminate

========================
Рекомендации по теме