Found 2065 Articles for Operating System

Benefits of Multithreading in Operating System

Manish Kumar Saini
Updated on 13-Mar-2023 12:22:53

2K+ Views

In computers, when multiple threads of a process are executed independently by sharing the same resources, it is called multithreading. Read through this article to learn the benefits of multithreading in operating systems. What is Multithreading in OS? In computers, a program in execution is referred to as a process. When a larger process is sub-divided into smaller processes, then each sub-process is termed as a thread. Technically, a separate execution path within a computer program is called a thread. In simple words, a thread is a light-weight process that can be scheduled by the operating system and executed by ... Read More

Batch OS vs Multiprogramming OS

Manish Kumar Saini
Updated on 14-Mar-2023 17:05:10

4K+ Views

Operating Systems are a type of system software that make the hardware functional and create the interface between the user and machine. Several types of operating systems available such as batch operating system, multiprocessing operating system, multiprogramming operating system, distributed operating system, etc. Batch Operating System The type of computer operating system which involves batch processing of tasks or jobs is referred to as batch operating system. This type of operating system was very popular in the 1970s. In the case of batch operating system, a single computer is used to process several tasks grouped in a single unit. In ... Read More

Advantages and Disadvantages of Windows Operating System

Manish Kumar Saini
Updated on 13-Mar-2023 12:20:26

24K+ Views

Windows Operating System Windows Operating System is a type of operating system based on Graphical User Interface (GUI). It is called a graphical user interface because it create an interface (communication screen) between user and machine by using graphical elements like icons, pictures, colors, etc. The Windows operating system was developed by Microsoft Corporation, an American Multinational technology company founded by Bill Gates and Paul Allen. Windows operating system is one of the most popular computer operating systems in the world. The primary reason behind its global popularity is its very user-friendly interface. Windows operating system also provides multitasking capabilities, ... Read More

Monitoring context switches in Linux

Satish Kumar
Updated on 03-Mar-2023 15:14:44

1K+ Views

Context switching is an essential aspect of modern operating systems that enables them to efficiently manage resources available to them. Context switching is process of switching from one process to another in a multi-tasking environment. operating system does this by saving state of current process and loading state of next process. Monitoring context switches in Linux is a crucial task for system administrators, developers, and users who want to optimize performance of their systems. In this article, we will explore how to monitor context switches in Linux and why it is essential to do so. Understanding Context Switching in Linux ... Read More

Linking with x86 shared library on Linux x64

Satish Kumar
Updated on 03-Mar-2023 15:09:38

243 Views

Introduction Dynamic Link Libraries, also known as Shared Libraries, are collections of compiled code, data, and resources that can be loaded and executed by an application at runtime. Shared libraries are commonly used in development of Linux applications, and are an integral part of x86 architecture. In this article, we will explore process of linking with x86 shared libraries on Linux x64 systems. Understanding x86 Shared Libraries An x86 shared library is a file that contains compiled code, data, and resources that can be shared among multiple applications at runtime. Shared libraries are loaded into memory only when required by ... Read More

How to make a USB device multi-touch enabled

Satish Kumar
Updated on 03-Mar-2023 15:08:10

529 Views

In recent years, touch technology has become increasingly popular, with smartphones, tablets, and laptops offering capability to interact with devices by simply tapping or swiping screen. However, what if you could use touch technology on your computer using a USB device? This is where concept of multi-touch enabled USB devices comes into play. In this article, we will explain what multi-touch enabled USB devices are, how to make a USB device multi-touch enabled, and provide examples of popular multi-touch USB devices in market. What are Multi-touch Enabled USB Devices? Multi-touch enabled USB devices are peripherals that are connected to a ... Read More

How can I use wstring(s) in Linux APIs

Satish Kumar
Updated on 19-Jul-2023 10:45:49

124 Views

Introduction In Linux programming, use of wide character strings is becoming increasingly common. Wide character strings, or wstrings, are a sequence of wide characters, each of which can represent a single Unicode character. This makes them particularly useful when working with text that includes characters from a wide range of languages, as well as text that includes special characters such as accents, symbols, and emojis. In this article, we will explore how to use wstrings in Linux APIs, with examples and explanations. What are wstrings and why use them? A wide character string, or wstring, is a sequence of wide ... Read More

Who called my DBus API in Linux system

Satish Kumar
Updated on 03-Mar-2023 15:02:10

418 Views

Introduction DBus is a widely used message bus system that facilitates communication between different software applications on Linux operating systems. It is used for inter-process communication (IPC) and allows applications to communicate with each other, even if they are running in different contexts. However, it can be difficult to determine which application or process is calling a specific DBus API. In this article, we will explore different methods for identifying caller of a DBus API on Linux. What is DBus? DBus is a message bus system used for inter-process communication (IPC) in Linux systems. It is a low-level, asynchronous protocol ... Read More

Is it possible to share a Cuda context between applications

Satish Kumar
Updated on 03-Mar-2023 15:01:10

543 Views

Introduction CUDA is a parallel computing platform and programming model created by Nvidia. It allows developers to use a CUDA-enabled graphics processing unit (GPU) to accelerate processing tasks in their applications. A CUDA context is a software environment that manages memory and other resources required by a CUDA application. A CUDA context is created when an application calls CUDA API, and it remains active until application releases it. One question that arises is whether it is possible to share a CUDA context between applications. In this article, we will explore this topic and discuss advantages and challenges of sharing a ... Read More

How to run long time process on Udev event

Satish Kumar
Updated on 03-Mar-2023 15:00:11

786 Views

Introduction Udev is a device manager used by modern Linux systems. It detects hardware changes and manages device nodes in /dev directory. Udev provides a flexible way to run scripts or programs in response to device events. This feature can be used to perform various tasks like automounting, launching backup scripts, and running long-running processes. In this article, we will discuss how to run long time processes on Udev events and provide examples to illustrate concepts. Understanding Udev Rules Udev rules are files that specify how Udev should handle device events. A typical rule consists of four parts: a match, ... Read More

Advertisements