def random_init():
    global _pid
    if _pid != os.getpid():
        b = os.urandom(N * 4)
        for n in ('py_random_state', 'np_random_state'):
            _helperlib.rnd_seed(_helperlib.c_helpers[n], b)
        _pid = os.getpid()


# This is the same struct as rnd_state_t in _helperlib.c.
Push a new mode onto the mode stack, making it current.
dataset/ETHPy150Open numba/numba/numba/targets/randomimpl.py/random_init--crossover with--dataset/ETHPy150Open google/simian/src/simian/mac/munki/plist.py/ApplePlist._NewMode