enum lfds710_misc_query

From liblfds.org
Revision as of 21:04, 7 May 2016 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

└───liblfds710
    └───inc
        └───liblfds710
                lfds710_misc.h

Enum

enum lfds710_misc_query
{
  LFDS710_MISC_QUERY_GET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_CAS,
  LFDS710_MISC_QUERY_SET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_CAS,
  LFDS710_MISC_QUERY_GET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_DWCAS,
  LFDS710_MISC_QUERY_SET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_DWCAS,
  LFDS710_MISC_QUERY_GET_BUILD_AND_VERSION_STRING
};

Values

LFDS710_MISC_QUERY_GET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_CAS

Gets the number of loop iterations to perform per timeslot for CAS operations.

LFDS710_MISC_QUERY_SET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_CAS

Sets the number of loop iterations to perform per timeslot for CAS operations.

LFDS710_MISC_QUERY_GET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_DWCAS

Gets the number of loop iterations to perform per timeslot for DWCAS operations.

LFDS710_MISC_QUERY_SET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_DWCAS

Sets the number of loop iterations to perform per timeslot for DWCAS operations.

LFDS710_MISC_QUERY_GET_BUILD_AND_VERSION_STRING

Gets a pointer to a statically allocated string which indicate liblfds build and version information.

Notes

This enum is used by the misc (i.e. library) query function, lfds710_misc_query.

Please see Lock-Free Exponential Backoff for an explanation of the number of loop iterations being performed per timeslot for CAS/DWCAS operations.

See Also