0% found this document useful (0 votes)
345 views

Os Micro Project

This document is a report submitted by 5 students - Ashutosh Dudhane, Sarthak Sutar, Karan Kole, Shreya Chawale, and Atharva Kamble - for their micro project on threads in operating systems. The report discusses threads as lightweight processes, the need for threads, types of threads including user-level and kernel-level threads, thread components, and benefits of threads. It also includes an action plan, resources required, and an evaluation sheet for assessing the project.

Uploaded by

ashutosh dudhane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
345 views

Os Micro Project

This document is a report submitted by 5 students - Ashutosh Dudhane, Sarthak Sutar, Karan Kole, Shreya Chawale, and Atharva Kamble - for their micro project on threads in operating systems. The report discusses threads as lightweight processes, the need for threads, types of threads including user-level and kernel-level threads, thread components, and benefits of threads. It also includes an action plan, resources required, and an evaluation sheet for assessing the project.

Uploaded by

ashutosh dudhane
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Ekalavya Shikshan Sanstha's

Polytechnic, Pune.

Micro Project
Topic : Threads
Diploma in 3rd Year
Computer Technology
Semester 5th

Submitted By
Ashutosh Dudhane(309)
Sarthak Sutar(317)
Karan Kole(311)
Shreya Chawale(329)
Atharva Kamble(314)

Under the Subject:

Operating System (OS)


EKLAVYA SHIKSHAN SANSTHA’S
POLYTECHNIC, PUNE
CERTIFICATE
Certified that this report submitted by

The students of semester-V of Diploma in COMPUTER TECHNOLOGY as the part of


micro project as prescribed by the Maharashtra State Board of Technical Education, Mumbai,
for the subject Operating System (OS).

Name: Ashutosh Dudhane(309)


Sarthak Sutar(317)
Karan Kole(311)
Shreya Chawale(329)
Atharva Kamble(314)

Place: ESSP, Pune

Date:

Subject Teacher Head of Department Principal

Mr.A.L. Pisal
3.0) Action Plan:-

Sr. Detail of Activity Plan Start Plan Finished Name of


Date Date Responsible
No. Team Member

1) Formation of Group Ashutosh Dudhane


Members

2) Introduction with team Sarthak sutar


member

3) Discussion to select Topic

4) Topic Selected Sarthak sutar

(Swing components)

5) Collecting information of Karan kole


Related Content
Atharva Kamble

Shreya Chawale

6) Planning how to make Ashutosh Dudhane


project
Sarthak Sutar

7) Proposal making Ashutosh Dudhane

8) Rough Project is shown to Sarthak Sutar


Mam & done some
correction. Karan kole

9) Project submission Ashutosh Dudhane

Sarthak Sutar

Karan kole

Atharva Kamble
4.0) Actual Resources Required:-

Sr. Name of Resource Specification Qty Remark

No.

1) Computer System with Computer(ryzen Processor), 01 -


Broad Specifications 8GB RAM, 500GB SSD.

2) MS Office MS Word 2021 01 -

3) Operating System Windows 11 01 -

4) Software Visual Studio Code 01 -


Threads in Operating System

A thread is a single sequential flow of execution of tasks of a process


so it is also known as thread of execution or thread of control. There
is a way of thread execution inside the process of any operating
system. Apart from this, there can be more than one thread inside a
process. Each thread of the same process makes use of a separate
program counter and a stack of activation records and control blocks.
Thread is often referred to as a lightweight process.

The process can be split down into so many threads. For example, in


a browser, many tabs can be viewed as threads. MS Word uses many
threads - formatting text from one thread, processing input from
another thread, etc.
Need of Thread

o It takes far less time to create a new thread in an existing


process than to create a new process.
o Threads can share the common data, they do not need to
use Inter- Process communication.
o Context switching is faster when working with threads.
o It takes less time to terminate a thread than a process.

Types of Threads

In the operating system, there are two types of threads.


1. Kernel level thread.
2. User-level thread.
User-level thread

The operating system does not recognize the user-level thread. User


threads can be easily implemented and it is implemented by the user.
If a user performs a user-level thread blocking operation, the whole
process is blocked. The kernel level thread does not know nothing
about the user level thread. The kernel-level thread manages user-
level threads as if they are single-threaded processes?
examples: Java thread, POSIX threads, etc.
Advantages of User-level threads
1. The user threads can be easily implemented than the kernel
thread.
2. User-level threads can be applied to such types of operating
systems that do not support threads at the kernel-level.
3. It is faster and efficient.
4. Context switch time is shorter than the kernel-level threads.
5. It does not require modifications of the operating system.
6. User-level threads representation is very simple. The register,
PC, stack, and mini thread control blocks are stored in the
address space of the user-level process.
7. It is simple to create, switch, and synchronize threads without
the intervention of the process.

Disadvantages of User-level threads


1. User-level threads lack coordination between the thread and the
kernel.
2. If a thread causes a page fault, the entire process is blocked.
Kernel level thread
The kernel thread recognizes the operating system. There is a thread
control block and process control block in the system for each thread
and process in the kernel-level thread. The kernel-level thread is
implemented by the operating system. The kernel knows about all the
threads and manages them. The kernel-level thread offers a system
call to create and manage the threads from user-space. The
implementation of kernel threads is more difficult than the user
thread. Context switch time is longer in the kernel thread. If a kernel
thread performs a blocking operation, the Banky thread execution can
continue. Example: Window Solaris.
Advantages of Kernel-level threads
1. The kernel-level thread is fully aware of all threads.
2. The scheduler may decide to spend more CPU time in the
process of threads being large numerical.
3. The kernel-level thread is good for those applications that block
the frequency.

Disadvantages of Kernel-level threads


1. The kernel thread manages and schedules all threads.
2. The implementation of kernel threads is difficult than the user
thread.
3. The kernel-level thread is slower than user-level threads.
Components of Threads

Any thread has the following components.


1. Program counter
2. Register set
3. Stack space
Benefits of Threads

o Enhanced throughput of the system: When the process is split


into many threads, and each thread is treated as a job, the
number of jobs done in the unit time increases. That is why the
throughput of the system also increases.
o Effective Utilization of Multiprocessor system: When you
have more than one thread in one process, you can schedule
more than one thread in more than one processor.
o Faster context switch: The context switching period between
threads is less than the process context switching. The process
context switch means more overhead for the CPU.
o Responsiveness: When the process is split into several threads,
and when a thread completes its execution, that process can be
responded to as soon as possible.
o Communication: Multiple-thread communication is simple
because the threads share the same address space, while in
process, we adopt just a few exclusive communication strategies
for communication between two processes.
o Resource sharing: Resources can be shared between all threads
within a process, such as code, data, and files. Note: The stack
and register cannot be shared between threads. There is a stack
and register for each thread.
 Micro Project Evaluation Sheet
Name of Students: Ashutosh Dudhane, Sarthak Sutar, Karan Kole, Shreya Chawale,
Atharva Kamble

Name of Program: Computer Technology Semester: 5

Course Name: Advanced Java Programming Code: 22517

Title of the Micro Project: “Swing components”


Course Outcome Achieved:

Sr.no Characteristics to be Poor Average Good Excellent Sub


accessed (Marks (Marks (Marks (Marks Total
1-3) 4-5) 6-8) 9-10)
1. Relevance to the
course
2. Literature
Review/Information
Collection
3. Completion of the
Target as per project
proposal
4. Analysis of Data and
Representation
5. Quality of the
Prototype / Model
6. Report Presentation
7. Presentation
8. Viva

(A) (B) Total Marks


Product Individual Presentation/Viva 10
Assessment

 Comments/ suggestions about Term work/ Leadership/ Inter-Personal


communications (If any) ……………………………………………………….........
 Name and signature of the Teacher…………………….
 Dated Signature……………………………

You might also like