POV-Ray : Newsgroups : povray.bugreports : crand is not thread safe in any >=3.7 version. Do we care? : Re: crand is not thread safe in any >=3.7 version. Do we care? Server Time
23 Apr 2024 08:21:21 EDT (-0400)
  Re: crand is not thread safe in any >=3.7 version. Do we care?  
From: William F Pokorny
Date: 7 Mar 2018 09:18:48
Message: <5a9ff4c8$1@news.povray.org>
On 03/07/2018 08:23 AM, William F Pokorny wrote:
> On 03/06/2018 06:44 AM, William F Pokorny wrote:
> 
> When I get a moment I'll either open up a github issue or a pull request 
> if a quick look at the code shows an easy fix like c++11's thread_local.
> 

Perhaps best I talk to myself... Turns out there is a separate random 
number generator set up for crand - suppose for speed reasons and that 
the set up intentional. Going to walk away.

Use +wt1 if using crand and you want 'frame/view' renders to be the same 
render to render.

Bill P.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.