Skip to content

Conversation

@nivkner
Copy link
Contributor

@nivkner nivkner commented Oct 22, 2021

No description provided.

@nivkner nivkner force-pushed the add_fork branch 2 times, most recently from 75e2c4f to 1653b1a Compare October 22, 2021 23:53
@nivkner nivkner force-pushed the add_fork branch 2 times, most recently from 32f5a6c to ced04a8 Compare October 26, 2021 17:10
@nivkner
Copy link
Contributor Author

nivkner commented Oct 29, 2021

there is a deadlock when calling dlmalloc::enable_alloc_after_fork, because pthread_atfork allocates, while the function locks the allocator mutex. submitted alexcrichton/dlmalloc-rs#24 to fix that

EDIT: will use custom locking instead

@nivkner nivkner marked this pull request as ready for review November 6, 2021 22:35
@nivkner nivkner force-pushed the add_fork branch 5 times, most recently from 28f7061 to 003b50f Compare November 6, 2021 23:48
@sunfishcode sunfishcode merged commit da6facd into sunfishcode:main Nov 8, 2021
@sunfishcode
Copy link
Owner

Very cool that this enables test_examples to be supported!

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.

2 participants