summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/resource.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Add Resource HandlerSebastian Huber2014-06-031-0/+211
A resource is something that has at most one owner at a time and may have multiple rivals in case an owner is present. The owner and rivals are impersonated via resource nodes. A resource is represented via the resource control structure. The resource controls and nodes are organized as trees. It is possible to detect deadlocks via such a resource tree. The _Resource_Iterate() function can be used to iterate through such a resource tree starting at a top node.