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
Deadlock
Anilava Kundu
asked
in
Operating System
Nov 2, 2018
485
views
0
votes
0
votes
Which of the following can cause deadlock
A) Files
B) Printer
C) Shared files
D) All of the above
How is D not the answer and B is
Anilava Kundu
asked
in
Operating System
Nov 2, 2018
by
Anilava Kundu
485
views
answer
comment
Follow
share this
share
4 Comments
Show 6 previous comments
by
adarsh_1997
commented
Nov 2, 2018
reply
Follow
share this
The only way you get a deadlock is that you have one or more processes waiting for it, but no processes releasing it . If you have one process holding it, then that process MUST release it.
1
1
by
vishalshrm539
commented
Nov 2, 2018
reply
Follow
share this
How can you say B is the answer?
Two processes can not write on a file at the same time, so this has to be synchronized.
0
0
by
Anilava Kundu
commented
Nov 2, 2018
reply
Follow
share this
I have the same question to be honest
0
0
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
0
Answers
← Previous
Next →
← Previous in category
Next in category →
Related questions
0
votes
0
votes
0
answers
1
Sunnidhya Roy
asked
in
Operating System
Dec 27, 2022
112
views
Made Easy Test Series Question on DeadLock
Q: Consider a system having 22 resources of same type. These resources are shared by 4 processes P,Q,R and S having peak demands of 3, 6, a and b. How many ordered pairs (a,b) are possible such that the system is deadlock free? According to me ... for a process be 0? In that case a-1 or b-1 will become -1 which will impact the inequality. So is this valid?
Sunnidhya Roy
asked
in
Operating System
Dec 27, 2022
by
Sunnidhya Roy
112
views
made-easy-test-series
operating-system
deadlock-prevention-avoidance-detection
0
votes
0
votes
0
answers
2
Souvik33
asked
in
Operating System
Nov 20, 2022
142
views
Safe State | Deadlock Avoidance | Bankers Algorithm | OS | MSQ
MSQ Which of the following statements is/are TRUE? If safe state exists, deadlock can be avoided if resources are allocated properly If safe state exists, deadlock is never possible in future Unsafe state always leads to ... safe state exists, deadlock is possible, if resources are poorly allocated Unsafe state may lead to a deadlock
Souvik33
asked
in
Operating System
Nov 20, 2022
by
Souvik33
142
views
deadlock-prevention-avoidance-detection
operating-system
resource-allocation
normal
0
votes
0
votes
0
answers
3
damz1499
asked
in
Operating System
Nov 7, 2022
292
views
Consider a system having 22 resources of the same type. These resources are shared by 4 processes P, Q, Rand Shaving peak demands of 3, 6, a and b respectively. How many ordered pairs (a, b) are possible, such that the system is deadlock free?
damz1499
asked
in
Operating System
Nov 7, 2022
by
damz1499
292
views
deadlock-prevention-avoidance-detection
combinatory
counting
0
votes
0
votes
0
answers
4
JAINchiNMay
asked
in
Operating System
Jun 23, 2022
131
views
In the "Intersted variable method" for synchronization is there a possiblity of deadlock or spinlock?
JAINchiNMay
asked
in
Operating System
Jun 23, 2022
by
JAINchiNMay
131
views
deadlock-prevention-avoidance-detection
operating-system
process-synchronization
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 GATE to Australia
DRDO Previous Year Papers
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
Subjects
All categories
General Aptitude
(2.5k)
Engineering Mathematics
(9.3k)
Digital Logic
(3.3k)
Programming and DS
(5.9k)
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 Blog Comments
Man, I feel you! I left my job to do gate this...
Yes, CDU provides assistance for internships...
Are you fully aware of the job opportunities in...
When this exam will happen ?
Can Someone guide me how to prepare for interview...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy