I have found online evidence that suggest that srandom is not thread safe. I am unable to proove this because I don't know if this was fixed in recent years. Do you know whether this thread safety issue still exists? If this is true, what would be a work around for srandom.