Bhanu Priya has Published 1449 Articles

What is the motivation to implement a micro-kernel in an operating system?

Bhanu Priya

Bhanu Priya

Updated on 30-Nov-2021 12:10:56

216 Views

Micro kernel is one of the classifications of kernel and is often represented as μ- kernel. It is software which provides a mechanism to implement an operating system.The functions or mechanism for implementation are as follows −Inter-process communicationThread managementLow level address space managementIn the micro kernel, user services and kernel ... Read More

What are the types of process scheduling algorithms and which algorithms lead to starvation?

Bhanu Priya

Bhanu Priya

Updated on 30-Nov-2021 12:06:34

4K+ Views

Process scheduler assigns different processes to CPU based on particular scheduling algorithms.Types of Process Scheduling AlgorithmsThe different types of process scheduling algorithms are as follows −FCFSAs the name goes, jobs are executed on a first come first serve basis. It’s a simple algorithm based on FIFO that's first in first ... Read More

What is a process scheduler in OS?

Bhanu Priya

Bhanu Priya

Updated on 30-Nov-2021 12:04:47

1K+ Views

Process scheduler is a part of the Operating system which schedules the process. If the process is in ready, waiting and running state it schedules it correctly and is also responsible for the allocation of the CPU processor to a specific task within a time interval.Also, when the task or ... Read More

What are threading issues?

Bhanu Priya

Bhanu Priya

Updated on 30-Nov-2021 12:03:38

28K+ Views

We can discuss some of the issues to consider in designing multithreaded programs. These issued are as follows −The fork() and exec() system callsThe fork() is used to create a duplicate process. The meaning of the fork() and exec() system calls change in a multithreaded program.If one thread in a ... Read More

What are the merits and demerits of a distributed system?

Bhanu Priya

Bhanu Priya

Updated on 30-Nov-2021 12:00:56

582 Views

Distributed Operating System is a type of model where applications are running on multiple computers linked by communications. It is an extension of the network operating system which supports higher levels of communication and integration of the machines on the network.Distributed OS runs on multiple CPUs but for an end-user, ... Read More

What are thread libraries?

Bhanu Priya

Bhanu Priya

Updated on 30-Nov-2021 11:57:37

15K+ Views

A thread is a lightweight of process and is a basic unit of CPU utilization which consists of a program counter, a stack, and a set of registers.Given below is the structure of thread in a process −A process has a single thread of control where one program can counter ... Read More

What is a multithreading model in OS?

Bhanu Priya

Bhanu Priya

Updated on 30-Nov-2021 11:23:07

2K+ Views

Multithreading is a process divided into a number of smaller tasks. Each task is represented or called it as a “Thread”. That means a thread is a lightweight of process. A number of such threads within a process executes at a time is called “multithreading”.The operating system’s additional capability is ... Read More

How to implement thread in kernel space?

Bhanu Priya

Bhanu Priya

Updated on 30-Nov-2021 11:20:38

2K+ Views

Kernel is a part of the operating system. It interacts directly with the hardware of the computer with the help of a device that is built into the kernel.Functions of KernelThe functions of the kernel are as follows −Memory managementControlling access to the computer.Maintaining the file system.Handling interruptsHandling errorsPerforming input ... Read More

How to implement thread in user space?

Bhanu Priya

Bhanu Priya

Updated on 30-Nov-2021 11:16:14

2K+ Views

A thread is a lightweight of process. It is a basic unit of CPU utilization which consists of a program counter, a stack, and a set of registers.Given below is the structure of single threaded process −Thread in user spaceNow, let us see how to implement thread in User Space.Step ... Read More

What are the process states in Windows and Linux?

Bhanu Priya

Bhanu Priya

Updated on 30-Nov-2021 11:08:50

3K+ Views

A process is not only a program under execution but it is the active state of the program when it is executing and it has its own Process Control Block.A process requires other resources like memory, CPU, hard disk, and Input/Output, etc.A process has five states as given below −New ... Read More

Advertisements