Skip to content

BlocksRuntime: adjust implementation for Windows x64 #342

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

Merged
merged 1 commit into from
Feb 23, 2018

Conversation

compnerd
Copy link
Member

This adjust the BlocksRuntime to work on Windows x64 which is an LLP64
environment. This primarily comes down to using size_t for the size
parameter for the allocation routines. A secondary change which is
needed is the type cast for the InterlockedCompareExchange operation
on Windows. A small cleanup is included which removes the definition of
an unused function.

This adjust the BlocksRuntime to work on Windows x64 which is an LLP64
environment.  This primarily comes down to using `size_t` for the size
parameter for the allocation routines.  A secondary change which is
needed is the type cast for the `InterlockedCompareExchange` operation
on Windows.  A small cleanup is included which removes the definition of
an unused function.
@compnerd
Copy link
Member Author

CC: @das @MadCoder @parkera

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

A similar change is in apple/swift-corelibs-foundation for this, but, since both are used, we should still get this merged.

@MadCoder MadCoder merged commit b5ec5d8 into swiftlang:master Feb 23, 2018
@compnerd compnerd deleted the blocks branch February 23, 2018 18:25
ktopley-apple pushed a commit that referenced this pull request Dec 6, 2018
BlocksRuntime: adjust implementation for Windows x64

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
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

Successfully merging this pull request may close these issues.

3 participants