Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
how can the deadlock be preventedto evade deadlocks first we will have to obtain the information about how resources are to be requested and as well
what are the methods for handling deadlocks the technique for handling the deadlocks are we are able to use protocol to prevent or avoid the deadlock
resource allocation graphwhen a process pi wishes an instance of resource type rj a request edge is inserted in the resource allocation graph when
mention the various features that characteristics the deadlock condition the four circumstances that give rise to deadlock condition are1 mutual
producer-consumer problem using semaphoresthe solution to producer-consumer problem use three semaphores namely- full empty and mutexthe semaphore
explain briefly the working of semaphore with example the ew dijkstra 1965 abstracted the key idea of mutual exclusion in his concepts of
what are the different types of semaphoreprincipally the semaphore is able to be classified into two on the basis of their
mention some attractive properties of semaphore the semaphores arent provided by hardware however
what do you mean by semaphore semaphore a synchronization variable that acquires on positive integer values invented by the dijkstrap semaphore
different multithreading modelsmultithreading models the majority multithreading models fall into one of the following categories of threading
debugging a multi threaded programthe following list points out few of the more frequent oversights and errors that can cause bugs in multithreaded
what are threads a thread - sometimes called as an implementation context or a lightweight process - is a single sequential flow of control within a
what are the advantages of multi threading multithreading a code can have several advantages improve application responsiveness --any program in
combined ultklt approachesidea is to merge the best of both approachessolaris is an illustration of an os that combines both ult and klt thread
advantages and inconveniences of klt advantagesthe kernel be able to simultaneously schedule many threads of the same process on many processors
kernel-level threads klt in this level every thread management is done by kernel no thread library except an api system calls to the kernel thread
advantages and inconveniences of ultadvantagesthread switching doesnt involve the kernel - no mode switching scheduling is able to be
kernel activity for ults the kernel isnt aware of thread activity but it is still managing process activity when a thread compose a system call the
user-level threads ult in this level the kernel isnt aware of the existence of threads -- all thread management is complete by the application by
what are the different thread levels there are two broad type of thread implementationuser-level threads -- thread librarieskernel-level threads --
benefits of threads over processif implemented correctly after those threads have some advantages of multi processes they take1 less time to create a
what are the differences between process and threadthe fundamental difference between a process and a thread is that a process has an entire copy of
briefly explain process management in windows 2000the windows 2000 process manager provides for deleting creating and using threads and processes it
bankers algorithmin this analogycustomersequivprocessesunitsequivresources say tape drivebankerequivoperating system customersusedmax a b c
deadlock avoidance its a method to evade deadlock by careful resource schedulingthis approach to the deadlock problem foresees deadlock before it