macro LIBSHARED_PAL_PTI_GET_LOGICAL_PROCESSOR_NUMBER

From liblfds.org
Jump to: navigation, search

Source File

└───test_and_benchmark
    └───libshared
        └───inc
            └───libshared
                    libtest_porting_abstraction_layer.h

Opaque Structures

struct libshared_pal_thread_info;

Macro

#define LIBSHARED_PAL_PTI_GET_LOGICAL_PROCESSOR_NUMBER( libshared_pal_thread_info )

Parameters

libshared_pal_thread_info

A struct libshared_pal_thread_info. Not a pointer to it - the struct itself.

Return Value

A lfds710_pal_uint_t, which is the logical processor number.

Notes

This macro obtains the logical processor number from the struct libshared_pal_thread_info.

Example

See Also