Misc

From liblfds.org
Revision as of 20:16, 17 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 Files

└───liblfds711
    ├───inc
    │   └───liblfds711
    │           lfds711_misc.h
    └───src
        └───lfds711_misc
                lfds711_misc_globals.c
                lfds711_misc_internal.h
                lfds711_misc_internal_backoff_init.c
                lfds711_misc_query.c

Defines

#define LFDS711_MISC_MAKE_VALID_ON_CURRENT_LOGICAL_CORE_INITS_COMPLETED_BEFORE_NOW_ON_ANY_OTHER_LOGICAL_CORE
#define LFDS711_MISC_FLUSH

Enums

enum lfds711_misc_cas_strength;
enum lfds711_misc_flag;
enum lfds711_misc_validity;
enum lfds711_misc_query;

Structures

struct lfds711_misc_validation_info
{
  lfds711_pal_uint_t
    min_elements,
    max_elements;
};

Prototypes

void lfds711_misc_query( enum lfds711_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