enum lfds711_misc_query

From liblfds.org
Revision as of 18:11, 16 February 2017 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source File

└───liblfds711
    └───inc
        └───liblfds711
                lfds711_misc.h

Enum

enum lfds711_misc_query
{
  LFDS711_MISC_QUERY_GET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_CAS,
  LFDS711_MISC_QUERY_SET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_CAS,
  LFDS711_MISC_QUERY_GET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_DWCAS,
  LFDS711_MISC_QUERY_SET_EXPONENTIAL_BACKOFF_TIMESLOT_LENGTH_IN_LOOP_ITERATIONS_FOR_DWCAS,
  LFDS711_MISC_QUERY_GET_BUILD_AND_VERSION_STRING
};

Values

LFDS711_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.

LFDS711_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.

LFDS711_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.

LFDS711_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.

LFDS711_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, lfds711_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