Data Fields
rwlock_attr Struct Reference

Data Fields

int rdlock_count
int wrlock_count

Detailed Description

pre-thread part of struct shm_arena that is used to make recursive arena read-write locks. Granted this could use mess data, but since it's not in shared memory it's not memory space critical and may be faster this way, since we don't have to multiple masks and flags. We call it a read-write lock thread attribute (rwlock_attr). Either rdlock_count or wrlock_count will be set, but not both.

Definition at line 421 of file arena.h.

Field Documentation

int rwlock_attr::rdlock_count

number of read locks.

Definition at line 424 of file arena.h.

int rwlock_attr::wrlock_count

number of write locks.

Definition at line 426 of file arena.h.

The documentation for this struct was generated from the following file:

Shared Memory Arena version RC-0.0.25