Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged threads
6
votes
1
answer
1
GO Classes Test Series 2024 | Mock GATE | Test 12 | Question: 8
Consider the following program execution involving 2 threads accessing the shared variable a which has been initialised to $0.$ Which of the following statement(s) is/are correct? Both threads will never finish execution ... threads will always finish execution Either both threads will finish, or none of them of will finish execution
Consider the following program execution involving 2 threads accessing the shared variable a which has been initialised to $0.$Which of the following statement(s) is/are ...
GO Classes
614
views
GO Classes
asked
Jan 21
Operating System
goclasses2024-mockgate-12
goclasses
operating-system
process-synchronization
threads
1-mark
+
–
4
votes
2
answers
2
GO Classes Test Series 2024 | Mock GATE | Test 11 | Question: 19
Consider three concurrently executing threads in the same process using two semaphores $\text{s}1$ and $\text{s2}.$ Assume $\text{s1}$ has been initialized to $1$, while $\text{s2}$ has been initialized to $0.$ ... ); /* thread C */ P(s1); x = x+3; V(s2); V(s1); $6$ $12$ $18$ $36$
Consider three concurrently executing threads in the same process using two semaphores $\text{s}1$ and $\text{s2}.$ Assume $\text{s1}$ has been initialized to $1$, while ...
GO Classes
580
views
GO Classes
asked
Jan 13
Operating System
goclasses2024-mockgate-11
goclasses
operating-system
semaphore
threads
multiple-selects
1-mark
+
–
4
votes
0
answers
3
GO Classes Test Series 2024 | Mock GATE | Test 11 | Question: 45
Consider the scenario where $\text{L}$ is a shared variable which is a pointer to the head of a linked list originally containing three nodes with keys $3, 4,$ and $5.$ Consider the function List_Insert() which is being used by two concurrent threads $\text{T}1$ ... are separated by commas. $6,3,4,5$ $6,2,3,4,5$ $2,6,3,4,5$ $2,3,4,5$
Consider the scenario where $\text{L}$ is a shared variable which is a pointer to the head of a linked list originally containing three nodes with keys $3, 4,$ and $5.$ C...
GO Classes
358
views
GO Classes
asked
Jan 13
Operating System
goclasses2024-mockgate-11
goclasses
operating-system
process-synchronization
threads
multiple-selects
2-marks
+
–
0
votes
1
answer
4
ISRO 2024
Which of the following multithreading model is followed in Linux OS? One User Thread mapping to One Kernel Thread Many User Threads mapping to One Kernel Thread One User Thread mapping to Many Kernel Threads Many User Threads mapping to Many Kernel Threads
Which of the following multithreading model is followed in Linux OS?One User Thread mapping to One Kernel ThreadMany User Threads mapping to One Kernel ThreadOne User Thr...
Ramayya
189
views
Ramayya
asked
Jan 7
Operating System
operating-system
threads
process-and-threads
+
–
0
votes
1
answer
5
Test Series
$\text{ Anyone please explain : }$
$\text{ Anyone please explain : }$
Rahhul A
290
views
Rahhul A
asked
Nov 13, 2023
Compiler Design
compiler-design
code-optimization
process-and-threads
threads
intermediate-code
+
–
0
votes
2
answers
6
deadlocks and threads operating system
A system has 5 process and 3 resources (A, B, C). The maximum count of resources are (10, 5, 7). Consider the following table of resource allocation. MAX (A B C) Allocated (A B C) P0 7 5 3 0 1 0 P1 3 2 2 2 0 0 P2 9 0 2 3 0 2 P3 2 ... these is a safe sequence in Question 13? P1, P3, P4 , P0, P2 only P2, P4, P3, P1, P0 only Both a and b None are safe sequences
A system has 5 process and 3 resources (A, B, C). The maximum count of resources are (10, 5, 7). Consider the following table of resource allocation. MAX(A B C)Alloc...
roopkathaaa
1.6k
views
roopkathaaa
asked
Sep 2, 2023
Operating System
threads
operating-system
deadlock-prevention-avoidance-detection
minimal-state-automata
made-easy-test-series
+
–
0
votes
1
answer
7
deadlocks and threads operating system
State true or false. Deadlock detection is possible using the allocation and request matrices alone. A way to recover from deadlock is to take away the resource from one of the processes or to kill the process itself. Banker's algorithm is ... deadlocks by analyzing the unsafe states. True, True, False False, True, True True, False, True False, True, False
State true or false.Deadlock detection is possible using the allocation and request matrices alone.A way to recover from deadlock is to take away the resource from one of...
roopkathaaa
831
views
roopkathaaa
asked
Sep 2, 2023
Operating System
operating-system
threads
deadlock-prevention-avoidance-detection
made-easy-test-series
minimal-state-automata
+
–
0
votes
1
answer
8
daedlocks and threads operating system
Suppose we want to synchronize two concurrent process P and Q using binary semaphore S and T. Process P: Process Q: while(1){ while(1){ W: Y: print 0'; print 1'; print 0'; print 1'; X: Z: } Synchronization statements can be inserted only at points W,X,Y,Z. Which of the ... S = T= 1 d. W : P(S) X : V(S) Y : P(T) Z: V(T) and initially S = 1 and T= 0
Suppose we want to synchronize two concurrent process P and Q using binary semaphore S and T.Process P: Process Q: while(1){ ...
roopkathaaa
298
views
roopkathaaa
asked
Sep 2, 2023
Operating System
operating-system
threads
deadlock-prevention-avoidance-detection
made-easy-test-series
+
–
0
votes
1
answer
9
deadlocks and threads operating system
Which of the following is false about User threads? User threads can switch fast since it does not involve kernel. User threads are lightweight since they do not require system calls. Kernel is not aware of the behavior of every user threads i.e. if it is blocking or runnable. None of these
Which of the following is false about User threads? User threads can switch fast since it does not involve kernel. User threads are lightweight since they do not require ...
roopkathaaa
265
views
roopkathaaa
asked
Sep 2, 2023
Operating System
operating-system
threads
deadlock-prevention-avoidance-detection
+
–
1
votes
0
answers
10
DRDO CSE 2022 Paper 2 | Question: 7
_________ is an $\text{IEEE 1003.1C}$ standard $\text{API}$ for thread creation and synchronization in operating system.
_________ is an $\text{IEEE 1003.1C}$ standard $\text{API}$ for thread creation and synchronization in operating system.
admin
311
views
admin
asked
Dec 15, 2022
Operating System
drdocse-2022-paper2
operating-system
threads
2-marks
fill-in-the-blanks
+
–
1
votes
0
answers
11
Fork System Call and Threads | OS | MSQ
MSQ Consider the following statements, which one of the following is/are TRUE In fork() system call, child process inherits all the open file descriptors of parent process In fork() system call, child process copies the code of the ... system call, child process shares the code of the parent process User level threads shares the code segment of the process
MSQ Consider the following statements, which one of the following is/are TRUEIn fork() system call, child process inherits all the open file descriptors of parent process...
Souvik33
790
views
Souvik33
asked
Nov 28, 2022
Operating System
operating-system
fork-system-call
unix
process-and-threads
threads
multiple-selects
+
–
0
votes
0
answers
12
Best Open Video Playlist for Threads Topic | Operating Systems
Please list out the best free available video playlist for Threads from Operating Systems as an answer here (only one playlist per answer). We'll then select the best playlist and add to GO classroom video lists. You can ... standard 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 Threads from Operating Systems as an answer here (only one playlist per answer). We'll then select the best pla...
makhdoom ghaya
206
views
makhdoom ghaya
asked
Aug 20, 2022
Study Resources
missing-videos
go-classroom
free-videos
video-links
threads
+
–
Page:
1
2
3
4
5
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register