Ricky Barnes has Published 129 Answers

How to get content of div which contains JavaScript script blocks?

Ricky Barnes

Ricky Barnes

Updated on 27-Jun-2022 06:49:00

To get the content of div which contains JavaScript script blocks, use the html() method. You can try to run the following code to get the content. With html(), get the content of div, which includes the JavaScript script.ExampleLive Demo                     ... Read More

Operating Systems Client/Server Communication

Ricky Barnes

Ricky Barnes

Updated on 24-Jun-2020 12:22:35

Client/Server communication involves two components, namely a client and a server. They are usually multiple clients in communication with a single server. The clients send requests to the server and the server responds to the client requests.There are three main methods to client/server communication. These are given as follows −SocketsSockets ... Read More

Readers-Writers Problem

Ricky Barnes

Ricky Barnes

Updated on 24-Jun-2020 12:18:26

The readers-writers problem relates to an object such as a file that is shared between multiple processes. Some of these processes are readers i.e. they only want to read the data from the object and some of the processes are writers i.e. they want to write into the object.The readers-writers ... Read More

Process vs Parent Process vs Child Process

Ricky Barnes

Ricky Barnes

Updated on 24-Jun-2020 12:11:24

In Operating System, the fork() system call is used by a process to create another process. The process that used the fork() system call is the parent process and process consequently created is known as the child process.Details about these are given as follows −ProcessA process is an active program ... Read More

Cooperating Process

Ricky Barnes

Ricky Barnes

Updated on 24-Jun-2020 12:08:59

Cooperating processes are those that can affect or are affected by other processes running on the system. Cooperating processes may share data with each other.Reasons for needing cooperating processesThere may be many reasons for the requirement of cooperating processes. Some of these are given as follows −ModularityModularity involves dividing complicated ... Read More

Mutex vs Semaphore

Ricky Barnes

Ricky Barnes

Updated on 24-Jun-2020 12:01:12

Mutex and Semaphore both provide synchronization services but they are not the same. Details about both Mutex and Semaphore are given below −MutexMutex is a mutual exclusion object that synchronizes access to a resource. It is created with a unique name at the start of a program. The Mutex is ... Read More

Race Condition, Critical Section and Semaphore

Ricky Barnes

Ricky Barnes

Updated on 24-Jun-2020 11:57:54

Race conditions, Critical Sections and Semaphores are an key part of Operating systems. Details about these are given as follows −Race ConditionA race condition is a situation that may occur inside a critical section. This happens when the result of multiple thread execution in critical section differs according to the ... Read More

Different Types of Process Schedulers

Ricky Barnes

Ricky Barnes

Updated on 24-Jun-2020 08:33:06

Process Scheduling handles the selection of a process for the processor on the basis of a scheduling algorithm and also the removal of a process from the processor. It is an important part of multiprogramming operating system.There are many scheduling queues that are used in process scheduling. When the processes ... Read More

What are the different states of a Process?

Ricky Barnes

Ricky Barnes

Updated on 24-Jun-2020 08:22:59

A process is an active program. It can also be said as a program that is under execution. It is more than the program code as it includes the program counter, process stack, registers, program code etc. Compared to this, the program code is only the text section.A process passes ... Read More

What is Zombie Process in Linux?

Ricky Barnes

Ricky Barnes

Updated on 23-Jun-2020 15:38:03

A zombie process is a process whose execution is completed but it still has an entry in the process table. Zombie processes usually occur for child processes, as the parent process still needs to read its child’s exit status. Once this is done using the wait system call, the zombie ... Read More

1 2 3 4 5 6 7 ... 13 Next
Advertisements