macro LIBSHARED_PAL_PTI_GET_WINDOWS_PROCESSOR_GROUP_NUMBER

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 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_WINDOWS_PROCESSOR_GROUP_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 lfds711_pal_uint_t, which is the Windows processor group number.

Notes

This macro obtains the Windows processor group number from the struct libshared_pal_thread_info. This field is only meaningful for Windows 7 and higher. On other platforms, the value is indeterminate.

Example

See Also