function lfds700_misc_library_init_valid_on_current_logical_core

From liblfds.org
Jump to navigation Jump to search

Source Files

└───liblfds700
    ├───inc
    │   └───liblfds700
    │           lfds700_misc.h
    └───src
        └───llfds700_liblfds
                lfds700_misc_init.c

Prototype

void lfds700_misc_library_init_valid_on_current_logical_core( void );

Notes

This function initializes the liblfds library and must be called before any other library functions are called.

Currently, this function sets the initial values for the length of the exponential backoff timeslot, and initializes the big, slow, high quality random number generator, which is used by lfds700_misc_prng_init.

Example

#include "liblfds700.h"

int main()
{
  lfds700_misc_library_init_valid_on_current_logical_core();

  lfds700_misc_library_cleanup();

  return( EXIT_SUCCESS );
}

See Also