Misc

From liblfds.org
Jump to navigation Jump to search

Source Files

└───liblfds710
    ├───inc
    │   └───liblfds710
    │           lfds710_misc.h
    └───src
        └───lfds710_misc
                lfds710_misc_globals.c
                lfds710_misc_internal.h
                lfds710_misc_internal_backoff_init.c
                lfds710_misc_query.c

Defines

#define LFDS710_MISC_MAKE_VALID_ON_CURRENT_LOGICAL_CORE_INITS_COMPLETED_BEFORE_NOW_ON_ANY_OTHER_LOGICAL_CORE
#define LFDS710_MISC_FLUSH

Enums

enum lfds710_misc_cas_strength;
enum lfds710_misc_flag;
enum lfds710_misc_validity;
enum lfds710_misc_query;

Structures

struct lfds710_misc_validation_info
{
  lfds710_pal_uint_t
    min_elements,
    max_elements;
};

Prototypes

void lfds710_misc_query( enum lfds710_misc_query query_type, void *query_input, void *query_output );

Overview

This API is not a data structure but rather a set of support functions, for initiaizing and cleaning up the library, and for random number generation (which is vital for dealing with live-lock).

Lock-free Specific Behaviour

None.

License

Standard liblfds license - there is no license. You are free to use this code in any way. Go forth and create wealth!

If however for legal reasons a licence is required, the license of your choice will be granted, and license for convenience is hereby granted up front for a range of popular licenses : the MIT license, the BSD license, the Apache license, the GPL and LPGL (all versions thereof) and the Creative Commons licenses (all of them). Additionally, this library (which is to say, the source code, build files, documentation, everything) is placed in the public domain.

See Also