default-random-source is not thread-safe

Create issue
Issue #209 invalid
Takashi Kato repo owner created an issue

SRFI-27 has default-random-source however current implementation of this is not thread-safe. This is most probably why pipeline fails

Comments (2)

  1. Takashi Kato reporter

    The following scenario is not ideal:

    1. 2 threads are calling the same (random n)
    2. both threads get the same number for each time

    If we put state per thread, this would happen and I don't want this. So mark as invalid.

  2. Log in to comment