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

malloc wrappers: ensure thread-safe #33284

Merged
merged 1 commit into from
Sep 18, 2019
Merged

Conversation

vtjnash
Copy link
Sponsor Member

@vtjnash vtjnash commented Sep 16, 2019

Better align the API of the jl_ wrappers for malloc/realloc/free with the libc namesakes, including being safe to use on threads.

fix #33223

Better align the API of the jl_ wrappers for malloc/realloc/free with the libc namesakes,
including being safe to use on threads.

fix #33223
@vtjnash vtjnash added kind:bugfix This change fixes an existing bug backport 1.0 labels Sep 16, 2019
@JeffBezanson JeffBezanson added the domain:multithreading Base.Threads and related functionality label Sep 16, 2019
@KristofferC KristofferC mentioned this pull request Sep 18, 2019
18 tasks
@JeffBezanson JeffBezanson merged commit 6c2c940 into master Sep 18, 2019
@delete-merged-branch delete-merged-branch bot deleted the jn/jlmalloc-threads branch September 18, 2019 17:13
KristofferC pushed a commit that referenced this pull request Sep 22, 2019
Better align the API of the jl_ wrappers for malloc/realloc/free with the libc namesakes,
including being safe to use on threads.

fix #33223

(cherry picked from commit 6c2c940)
@KristofferC KristofferC mentioned this pull request Dec 3, 2019
56 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:multithreading Base.Threads and related functionality kind:bugfix This change fixes an existing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Segmentation fault when calling C code using GMP initialization together with OpenMP
3 participants