shachi_984a

How can you create a deadlock using Mutual exclusion?

Please provide the "Mutual exclusion" method of creating a deadlock?

Add a comment

0%

7 replies

ekasha

"Mutual exclusion : At least one resource must be held in a non-sharable mode; that is, only one process at a time can use the resource. Source: http://in.docsity.com/en-docs/Fundamentals_of_Operating_Systems__Lecture_notes__Poonam_Sharma"

Add a comment

electraxx

"The mutex attributes object is initialized to default values by the pthread_mutexattr_init subroutine. The attributes are handled by subroutines. The thread attributes object is destroyed by the pthread_mutexattr_destroy subroutine. This subroutine may release storage dynamically allocated by the pthread_mutexattr_init subroutine, depending on the implementation of the threads library. "

Add a comment