Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

For BSD/APPLE platform using native random calls. #8

Closed
wants to merge 1 commit into from

Conversation

devnexen
Copy link

Solution not involving file descriptors, seeded upon fork and in
a regular basis.

Solution not involving file descriptors, seeded upon fork and in
a regular basis.
@Dor1s
Copy link
Contributor

Dor1s commented Aug 2, 2019

Thanks for the patch! Could you please clarify why is this needed?

@devnexen
Copy link
Author

devnexen commented Aug 2, 2019

In some configurations, file descriptors can be limited so this is the opportunity to save one, to get really proper randomness without having to reseed manually while having good performance.

@Dor1s
Copy link
Contributor

Dor1s commented Aug 5, 2019

Thanks for clarifying. I don't think that this is a strong enough reason for complicating the code with additional preprocessor directives. Plus, we don't have any infrastructure to test BSD/Apple specific changes at this point.

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

Successfully merging this pull request may close these issues.

2 participants