Crate hyper_thread_random

Source
Expand description

#hyper-thread-random Provides hyper-thread local random number generators optimized for recent Intel x86-64 chips with the RDRAND instruction; falls back to rand crate for others.

Functionsยง

generate_hyper_thread_safe_random_u16
Generates a random u16 for the current hyper thread.
generate_hyper_thread_safe_random_u32
Generates a random u32 for the current hyper thread.
generate_hyper_thread_safe_random_u64
Generates a random u64 for the current hyper thread.