#include <XrdSsiShMat.hh>
Create a new shared memory segment and associated file specified at object instantiation (see New() method). Created segments must be made visible to other processes using the Export() method. This allows the table to be preloaded with initial values before the table is made visible.
- Parameters
-
parms | Create parameters described by CRParms. All uninitialized members in this struct must be specified. |
- Returns
- true - The shared memory was attached, the table can be used.
-
false - The shared memory could not be attached, errno holds reason.
XrdSsiShMat::CRZParms::CRZParms |
( |
| ) |
|
|
inline |
XrdSsiShMat::CRZParms::~CRZParms |
( |
| ) |
|
|
inline |
int XrdSsiShMat::CRZParms::indexSz |
Number of four byte hash table entries to create.
int XrdSsiShMat::CRZParms::maxKeys |
Maximum number of keys-value pairs expected in table.
int XrdSsiShMat::CRZParms::maxKLen |
The maximum acceptable key length.
int XrdSsiShMat::CRZParms::mode |
Filemode for the newly created file.
signed char XrdSsiShMat::CRZParms::multW |
1: Table can have multiple processes writing. 0: Table has only one process writing. -1: Use default or, for resize, previous setting.
signed char XrdSsiShMat::CRZParms::reUse |
1: Reuse deleted objects. 0: Never reuse deleted objects. -1: Use default or, for resize, previous setting.
char XrdSsiShMat::CRZParms::rsvd[6] |
Reserved for future options.
Referenced by CRZParms().
The documentation for this struct was generated from the following file: