Detailed Description
Handle for a shared resource.
The first data structure counter tracks use of the resource and free resources that are not longer active. Counter must be the first member to ensure correct memory aligned for interlocked operations.
Collaboration diagram for fiftyoneDegreesResourceHandle:
Data Fields | |
| volatile fiftyoneDegreesInterlockDoubleWidth | counter |
| Counter for this handle. | |
| const void * | resource |
| Pointer to the resource being managed. | |
| const fiftyoneDegreesResourceManager * | manager |
| Pointer to the manager the handle relates to. | |
| void(* | freeResource )(void *) |
| Pointer to the method used to free the resource. | |
The documentation for this struct was generated from the following file:
