Skip to content

Re-seed after fork lazily using pthread_atfork handler#8

Open
stigtsp wants to merge 1 commit into
hoytech:masterfrom
stigtsp:reseed-on-fork
Open

Re-seed after fork lazily using pthread_atfork handler#8
stigtsp wants to merge 1 commit into
hoytech:masterfrom
stigtsp:reseed-on-fork

Conversation

@stigtsp

@stigtsp stigtsp commented Jul 3, 2026

Copy link
Copy Markdown
  • Re-seed after fork:
    Add pthread_atfork handler that enables a lazy re-seed to prevent forked processes from generating identical token streams

* Add GitHub CI tests

@stigtsp stigtsp marked this pull request as draft July 3, 2026 11:49
Comment thread Token.xs Outdated
Add pthread_atfork handler that enables a lazy re-seed to prevent forked
processes from generating identical token streams

Assisted-by: Claude Fable 5
@stigtsp stigtsp changed the title Lazy re-seed after fork using pthread_atfork handler, add GitHub CI tests Lazy re-seed after fork using pthread_atfork handler Jul 3, 2026
@stigtsp stigtsp marked this pull request as ready for review July 3, 2026 12:54
@stigtsp stigtsp changed the title Lazy re-seed after fork using pthread_atfork handler Re-seed after fork lazily using pthread_atfork handler Jul 3, 2026
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