Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing synchapi.h CONDITION_, INIT_, SRWLOCK_ constants #1788

Closed
riverar opened this issue Dec 29, 2023 · 2 comments
Closed

Missing synchapi.h CONDITION_, INIT_, SRWLOCK_ constants #1788

riverar opened this issue Dec 29, 2023 · 2 comments
Assignees

Comments

@riverar
Copy link
Collaborator

riverar commented Dec 29, 2023

Examples:

#define CONDITION_VARIABLE_INIT RTL_CONDITION_VARIABLE_INIT

// ...

#define SRWLOCK_INIT RTL_SRWLOCK_INIT

// ...

#define INIT_ONCE_STATIC_INIT       RTL_RUN_ONCE_INIT
#define INIT_ONCE_CHECK_ONLY        RTL_RUN_ONCE_CHECK_ONLY
#define INIT_ONCE_ASYNC             RTL_RUN_ONCE_ASYNC
#define INIT_ONCE_INIT_FAILED       RTL_RUN_ONCE_INIT_FAILED
#define INIT_ONCE_CTX_RESERVED_BITS RTL_RUN_ONCE_CTX_RESERVED_BITS
@riverar riverar changed the title Missing synchapi.h CONDITION_ and INIT_ constants Missing synchapi.h CONDITION_, INIT_, SRWLOCK_ constants Dec 29, 2023
@mikebattista
Copy link
Contributor

Needs similar fix to #1522.

@mikebattista mikebattista self-assigned this Jan 19, 2024
@mikebattista
Copy link
Contributor

The _INIT constants are struct initializers so need the Constant pattern from #1337.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants