Skip to content

Commit

Permalink
lock decl
Browse files Browse the repository at this point in the history
  • Loading branch information
charlieMonroe committed Aug 12, 2013
1 parent ec7bced commit aa6ab95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mempool.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
declared here only to enable static allocation of mempools. */
struct mempool
{
pthread_mutex_t lock;
struct sx lock;
size_t obj_size; /* object size (rounded up for alignment) */
size_t chunk_size; /* allocation granularity */
unsigned int reserve; /* minimum (desired) size of the free-list */
Expand Down

0 comments on commit aa6ab95

Please sign in to comment.