Tuesday, May 7, 2013

How to prevent deadlock if N thread access N thread resource without deadlock?

If we acquire resource in particular order and release the resources in reverse order we can prevent deadlock.

No comments:

Post a Comment