In JAVA, when a thread calls wait( ) inside a synchronized method,
A) the thread releases the object lock and continues its execution.
B) the thread releases the object lock, blocks and is put in the entry set.
C) the thread releases the object lock, blocks and is put in the wait set.
D) the thread continues its execution without releasing the object lock.
Correct Answer:
Verified
Q5: POSIX named semaphores
A) can easily be used
Q6: In a single processor system running Windows,
Q7: When the state for a dispatcher object
Q8: A reader-writer lock is useful when
A) there
Q9: In the monitor solution for dining-philosophers problem
Q11: Emergence of multicore systems has put greater
Q12: A critical-section object in Windows
A) is particularly
Q13: Alternate approaches such as transactional memory or
Q14: Atomic integers in Linux are useful when
A)
Q15: A thread using POSIX condition variables, a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents