Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged inter-process-communication
0
votes
1
answer
1
Process Synchronisation
What is the significance of infinite loop that is written in every example of process synchronisation? What would happen if there wasn't any infinite loop?
ajayraho
asked
in
Operating System
Oct 23, 2022
by
ajayraho
206
views
operating-system
process-synchronization
semaphore
process-scheduling
inter-process-communication
0
votes
0
answers
2
Best Open Video Playlist for Inter-Process Communication Topic | Operating Systems
Please list out the best free available video playlist for Inter-process Communication from Operating Systems as an answer here (only one playlist per answer). We'll then select the best playlist and add to GO ... ones are more likely to be selected as best. For the full list of selected videos please see here
makhdoom ghaya
asked
in
Study Resources
Aug 20, 2022
by
makhdoom ghaya
44
views
missing-videos
go-classroom
free-videos
video-links
inter-process-communication
0
votes
1
answer
3
Producer Consumer, if buffer is empty in begining(self doubt)?
I am confused in understanding the complete flow of producer-consumer problem in following schenerio. Let currently buffer in empty and there is no data in there,and let some how consumer starts executing and will make F = ... the counting semaphore helping consumer to determine if there is even a single buffer full to consume from it.
Atharva007
asked
in
Operating System
Mar 20, 2022
by
Atharva007
160
views
operating-system
inter-process-communication
self-doubt
4
votes
4
answers
4
ISRO2020-58
Remote Procedure Calls are used for communication between two processes remotely different from each other on the same system communication between two processes on the same system communication between two processes on the separate systems none of the above
Satbir
asked
in
Computer Networks
Jan 13, 2020
by
Satbir
2.1k
views
isro-2020
computer-networks
inter-process-communication
normal
0
votes
0
answers
5
MadeEasy Workbook: Operating System - Inter Process Commmunication
Consider the following sequential code which is executed in a multiprogramming mode by assuming that each statement can execute independently to achieve the concurrency. If any statement dependent on other statements then those statements will be ... and S2 d)S2 and S4 Given answer is option c but according to me answer should be d
Jyoti Kumari97
asked
in
Operating System
Jan 14, 2019
by
Jyoti Kumari97
219
views
operating-system
inter-process-communication
made-easy-booklet
0
votes
0
answers
6
#OS #Semaphores Producer Consumer Problem Self Doubt.
I know, that both P and C can go and fall into sleeping state in case of preemption and this can be solved via Semaphores. Now, my doubt is that integer bit that will be set by the P and being sent to C and C will see the semaphore bit ... ? Basically, both P and C can send this integer bit or only P can send this to C to wake him up? Thank you!
iarnav
asked
in
Operating System
Jul 22, 2018
by
iarnav
301
views
operating-system
inter-process-communication
semaphore
process-synchronization
self-doubt
0
votes
3
answers
7
Process Synchronisation ( binary semaphores)
Consider the below program as two concurrent processes: Semaphore x:= 0; P1: repeat forever P2: repeat forever 1.V(x); 4. P(x); 2.Compute; 5.Compute; 3.P(x); 6.V(x); Consider the following statements about process P1 & P2: (1) ... chance to run , and it wil starve (THIS IS WHAT I THOUGHT THE ANSWER SHOULD BE , PLEASE COMMENT, IF I AM WRONG ANYWHERE)
NIKU
asked
in
Operating System
Oct 28, 2017
by
NIKU
779
views
process-synchronization
operating-system
semaphore
inter-process-communication
process-scheduling
0
votes
1
answer
8
Process Synchronisation
11. Consider the following program: Const int n= 10 int Count= 0 Void A( ) { int i; for(i= 1 to n) Count= Count + 1; } Main ( ) { Par begin A( ); A( ); A( ); A( ); Par end } What is the minimum and maximum possible value of count after the ... 40 (b) 2, 40 (c) 3, 40 (d) 4, 40 NOTE: I am not able to understand what does "par begin" and "par end" indicates
NIKU
asked
in
Operating System
Oct 28, 2017
by
NIKU
369
views
process-synchronization
operating-system
semaphore
inter-process-communication
3
votes
1
answer
9
Producer Consumer Problem
Consider the producer-consumer problem solution using semaphore. Which of the following condition below synchronization mechanism satisfies. Mutual Exclusion Bounded Waiting Progress Architecural Neutral mutex buffer_mutex; // similar to "semaphore buffer_mutex = ... buffer_mutex); item = removeItemFromBuffer(); up(buffer_mutex); up(emptyCount); consumeItem(item); } }
Durgesh Singh
asked
in
Operating System
Jul 22, 2017
by
Durgesh Singh
1.9k
views
operating-system
process-synchronization
inter-process-communication
semaphore
2
votes
2
answers
10
Explain what the output will be at line A.
#include <sys/types.h> #include <stdio.h> #include <unistd.h> int value =5; int main( ) { pid_t pid; pid=fork( ); if (pid == 0) { /* child process */ value +=15; return 0; } else if (pid > 0) { /*parent process */ wait(NULL); printf(“PARENT: value=%d”, value); /* LINE A */ return 0; } } What output will be at Line A?
milankamilya
asked
in
Operating System
May 25, 2016
by
milankamilya
4.2k
views
process
inter-process-communication
3
votes
1
answer
11
Producer consumer code using semaphore
The code for producer consumer prob​lem using semaphore is producer's code do { * // produce an item in nextproduced wait(empty) ; wait(mutex) ; buffer[in] = nextProduced; in = (in + 1) % BUFFER-SIZE; signal(mutex) ; signal( ... consumer. Since producer does not affect 'out' and consumer does not affect 'in', so we could have used mutex1 and mutex2.
admin
asked
in
Operating System
Sep 22, 2015
by
admin
1.1k
views
operating-system
process-synchronization
inter-process-communication
semaphore
0
votes
1
answer
12
In message passing system how many points of synchronization is possible??
In message passing system how many points of synchronization is possible??
rajsh3kar
asked
in
Operating System
Dec 15, 2014
by
rajsh3kar
1.0k
views
operating-system
process-synchronization
inter-process-communication
30
votes
1
answer
13
GATE CSE 1997 | Question: 3.7
I/O redirection implies changing the name of a file can be employed to use an existing file as input file for a program implies connecting $2$ programs through a pipe None of the above
Kathleen
asked
in
Operating System
Sep 29, 2014
by
Kathleen
6.9k
views
gate1997
operating-system
normal
inter-process-communication
To see more, click for the
full list of questions
or
popular tags
.
Subscribe to GATE CSE 2023 Test Series
Subscribe to GO Classes for GATE CSE 2023
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
From Rank 4200 to 64: My Journey to Success in GATE CSE Exam
What are the key things to focus on during the final 10-15 days before the GATE exam to improve performance?
All India GO Classes Mock test
NTA UGC NET JRF December 2022 Apply Online Form 2023
Life happens, just chill and do hardwork
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.8k)
Algorithms
(4.6k)
Theory of Computation
(6.7k)
Compiler Design
(2.3k)
Operating System
(5.0k)
Databases
(4.6k)
CO and Architecture
(3.8k)
Computer Networks
(4.6k)
Non GATE
(1.3k)
Others
(2.4k)
Admissions
(649)
Exam Queries
(842)
Tier 1 Placement Questions
(17)
Job Queries
(74)
Projects
(9)
Unknown Category
(853)
Recent questions tagged inter-process-communication
Recent Blog Comments
@mahendrapatel The more you give those (some...
@ChatGPT bhai muze vo test bhi dena tha...
AIMT is live now:...
It is at 9:30. Test Link will be available at...
@Deepak Poonia @Sachin Mittal 1 sir...