macro LFDS711_QUEUE_BMM_GET_USER_STATE_FROM_STATE

From liblfds.org
Jump to: navigation, search

Source File

└───liblfds711
    └───inc
        └───liblfds711
                lfds711_queue_bmm.h

Macro

#define LFDS711_QUEUE_BMM_GET_USER_STATE_FROM_STATE( queue_bmm_state )

Parameters

queue_bmm_state

An initialized struct lfds711_queue_bmm_state. Not a pointer to it - the struct itself.

Return Value

Returns a void *, the user_state argument from lfds711_bmm_queue_init_valid_on_current_logical_core.

Notes

The user state value can only be set the once, when the data structure instance is initialized.

As with all liblfds macros, the macro operates on the structure itself, not a pointer to it.

Example

Coming soon! (no, really!)

See Also