Operation Flags
Almost every RHT operation allows a user to pass flags to alter
the default behavior of the function. Default behavior is used when
the flags parameter is 0. Multiple flags can be passed to
an operation, (where allowed) by ORing (i.e. - flag1 | flag2) the
flag values together.
- RHT_NO_FLAGS - default functionality is used
- RHT_UNION - (default) creation flag that does not
leave any entry behind upon entry deletion
- RHT_INTERSECT - creation flag that leaves special
delete entries behind upon entry deletion
- RHT_GET_DELETES - if using RHT_INTERSECT semantics
return any special delete entries in the table as well
- RHT_DIRTY_READ - do not wait for previously, locally
generated updates to be applied before allowing the function to
proceed
- RHT_CLEAN_READ - wait for all previously, locally generated
updates to be applied before allowing the function to proceed
|