Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged inter-process-communication
0
votes
0
answers
1
Classless Inter-Domain Routing
Could someone assist me in confirming the answer to this multiple-choice question? While I'm leaning towards 'all of the above,' I'm considering the possibility that classful addressing might also involve distinct ... addressing in order to Provide subnet masks Organize network addresses All of the above None of the above Thanks
Could someone assist me in confirming the answer to this multiple-choice question? While I'm leaning towards 'all of the above,' I'm considering the possibility that clas...
Andre Van Stone
289
views
Andre Van Stone
asked
Aug 21, 2023
Computer Networks
computer-networks
inter-process-communication
go-classroom
free-videos
video-links
+
–
0
votes
1
answer
2
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?
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
876
views
ajayraho
asked
Oct 23, 2022
Operating System
operating-system
process-synchronization
semaphore
process-scheduling
inter-process-communication
+
–
0
votes
0
answers
3
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
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...
makhdoom ghaya
203
views
makhdoom ghaya
asked
Aug 20, 2022
Study Resources
missing-videos
go-classroom
free-videos
video-links
inter-process-communication
+
–
0
votes
1
answer
4
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.
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 s...
Atharva007
531
views
Atharva007
asked
Mar 20, 2022
Operating System
operating-system
inter-process-communication
self-doubt
+
–
4
votes
5
answers
5
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
Remote Procedure Calls are used forcommunication between two processes remotely different from each other on the same systemcommunication between two processes on the sam...
Satbir
4.1k
views
Satbir
asked
Jan 13, 2020
Computer Networks
isro-2020
computer-networks
inter-process-communication
normal
+
–
0
votes
0
answers
6
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
Consider the following sequential code which is executed in a multiprogramming mode by assuming that each statement can execute independently to achieve the concurrency. ...
Jyoti Kumari97
322
views
Jyoti Kumari97
asked
Jan 14, 2019
Operating System
operating-system
inter-process-communication
made-easy-booklet
+
–
0
votes
0
answers
7
#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!
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 ...
iarnav
503
views
iarnav
asked
Jul 22, 2018
Operating System
operating-system
inter-process-communication
semaphore
process-synchronization
self-doubt
+
–
0
votes
3
answers
8
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)
Consider the below program as two concurrent processes:Semaphore x:= 0;P1: repeat forever P2: repeat forever1.V(x); ...
NIKU
990
views
NIKU
asked
Oct 28, 2017
Operating System
process-synchronization
operating-system
semaphore
inter-process-communication
process-scheduling
+
–
0
votes
1
answer
9
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
11. Consider the following program:Const int n= 10int Count= 0Void A( ){ int i;for(i= 1 to n)Count= Count + 1;}Main ( ){Par beginA( );A( );A( );A( );Par end}What is the m...
NIKU
583
views
NIKU
asked
Oct 28, 2017
Operating System
process-synchronization
operating-system
semaphore
inter-process-communication
+
–
3
votes
1
answer
10
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); } }
Consider the producer-consumer problem solution using semaphore. Which of the following condition below synchronization mechanism satisfies. Mutual Exclusion Bounded Wait...
Durgesh Singh
2.6k
views
Durgesh Singh
asked
Jul 22, 2017
Operating System
operating-system
process-synchronization
inter-process-communication
semaphore
+
–
2
votes
2
answers
11
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?
#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; }...
milankamilya
5.8k
views
milankamilya
asked
May 24, 2016
Operating System
process
inter-process-communication
+
–
3
votes
1
answer
12
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 ... producer does not affect 'out' and consumer does not affect 'in', so we could have used mutex1 and mutex2.
The code for producer consumer prob​lem using semaphore isproducer's code do { * // produce an item in nextproduced wait(empty) ; wait(mutex) ; buffer[in] = nextPro...
admin
1.3k
views
admin
asked
Sep 21, 2015
Operating System
operating-system
process-synchronization
inter-process-communication
semaphore
+
–
0
votes
1
answer
13
In message passing system how many points of synchronization is possible??
In message passing system how many points of synchronization is possible??
In message passing system how many points of synchronization is possible??
rajsh3kar
1.4k
views
rajsh3kar
asked
Dec 15, 2014
Operating System
operating-system
process-synchronization
inter-process-communication
+
–
32
votes
2
answers
14
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
I/O redirectionimplies changing the name of a filecan be employed to use an existing file as input file for a programimplies connecting $2$ programs through a pipeNone of...
Kathleen
8.5k
views
Kathleen
asked
Sep 29, 2014
Operating System
gate1997
operating-system
normal
inter-process-communication
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register