Detailed Description
Pool of resources stored as items in a stack.
Collaboration diagram for fiftyoneDegreesPool:
Data Fields | |
| fiftyoneDegreesPoolItem * | stack |
| Pointer to the memory used by the stack. | |
| fiftyoneDegreesPoolHead | head |
| Head of the stack. | |
| uint16_t | count |
| Number of resource items that stack can hold. | |
| fiftyoneDegreesPoolResourceFree | resourceFree |
| Frees a resource. | |
| volatile long | waiting |
| Number of threads waiting for an item. | |
| long | waits |
| Counts waits for an item, for the tests. | |
| fiftyoneDegreesMutex | lock |
| Guards the count and the wait for an item. | |
| pthread_cond_t | released |
| Wakes a waiting thread. | |
The documentation for this struct was generated from the following file:
