Arnab Chakraborty has Published 3734 Articles

Multithreaded using the Pthreads API

Arnab Chakraborty

Arnab Chakraborty

Updated on 16-Oct-2019 08:36:40

2K+ Views

Pthreads refers to the POSIX standard (IEEE 1003.1c) defining an API for thread creation and synchronization, which is a specification for thread behavior, not an implementation. This specification may be implemented by Operating-system designers in any way they wish. The C program shown in below, demonstrates the basic Pthreads API ... Read More

Programming challenges in multicore systems

Arnab Chakraborty

Arnab Chakraborty

Updated on 16-Oct-2019 08:29:58

1K+ Views

The trend towards multicore systems continues to place pressure on system designers and application programmers to create higher use of the multiple computing cores. Designers of operational systems should write programing algorithms that use multiple process cores to permit the parallel execution shown in below Figure −Figure: Parallel execution on ... Read More

Actions taken by a kernel to context-switch between kernel-level threads.

Arnab Chakraborty

Arnab Chakraborty

Updated on 16-Oct-2019 08:28:43

3K+ Views

Context Switching involves storing the context or state of a process or thread so that it can be reloaded when required and execution can be resumed from the same point as earlier. This is a feature of a multitasking operating system and allows a single CPU to be shared by ... Read More

Advanced local procedure call (ALPC)

Arnab Chakraborty

Arnab Chakraborty

Updated on 16-Oct-2019 08:24:50

2K+ Views

Advanced Local Procedure Call(ALPC) is a message-passing mechanism. A globally visible connection-port object is published by the server process. When a client wants services from a subsystem or service, it opens a handle to the server’s connection-port object and sends a connection request to the port. A channel is created ... Read More

What is marshalling in RPC?

Arnab Chakraborty

Arnab Chakraborty

Updated on 16-Oct-2019 08:23:45

3K+ Views

Remote Procedure Call (RPC) is a client-server mechanism that enables an application on one machine to make a procedure call to code on another machine. The client calls a local procedure—a stub routine—that packs its arguments into a message and sends them across the network to a particular server process. ... Read More

What is the difference between context switching and interrupt handling?

Arnab Chakraborty

Arnab Chakraborty

Updated on 16-Oct-2019 08:22:20

2K+ Views

Context switching involves storing the context or state of a method or thread in order that it will be reloaded once needed and execution will be resumed from constant purpose as earlier. This can be a feature of a multitasking software system and permits one computer hardware to be shared ... Read More

Microsoft Interface Definition Language

Arnab Chakraborty

Arnab Chakraborty

Updated on 16-Oct-2019 08:20:33

430 Views

DefinitionThe Microsoft Interface Definition Language (MIDL) defines interfaces between client and server programs. The MIDL compiler with the Platform Software Development Kit (SDK) to enable developers to create the interface definition language (IDL) files and application configuration files (ACF) required for Remote Procedure Call (RPC) interfaces and COM/DCOM interfaces are ... Read More

What is PID manager in Linux?

Arnab Chakraborty

Arnab Chakraborty

Updated on 16-Oct-2019 08:18:34

1K+ Views

In Linux, when an executable stored on disk is called a program, and a program loaded into memory and running is called a process. A process is given a unique number called process ID (PID) that identifies that process to the system, when it is started. If we ever need ... Read More

What is loopback address?

Arnab Chakraborty

Arnab Chakraborty

Updated on 11-Oct-2019 13:33:08

4K+ Views

The IP address range 127.0.0.0 – 127.255.255.255 is reserved for loopback. Loopback IP address is managed entirely by and within the operating system. These addresses enable the Server and Client processes on a single system to communicate with each other. When a process creates a packet with destination address as ... Read More

What's the difference between a context switch, a process switch and a thread switch in Linux?

Arnab Chakraborty

Arnab Chakraborty

Updated on 11-Oct-2019 13:31:36

1K+ Views

Context Switching involves storing the context or state of a process or thread so that it can be reloaded when required and execution can beresumed from the same point as earlier. This is a feature of a multitasking operating system and allows a single CPU to be shared by multiple ... Read More

Advertisements