Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^17: PDL and srand puzzle - PDL non-thread testing

by etj (Priest)
on Jun 10, 2024 at 10:49 UTC ( [id://11159875]=note: print w/replies, xml ) Need Help??


in reply to Re^16: PDL and srand puzzle - PDL non-thread testing
in thread PDL and srand puzzle

I'm referring to the parallel non-thread demonstration. It does not produce predictable results unless calling CORE::rand.
So you described the situation wrong? You can have predictable results with PDL if you call random() to generate data before creating threads.
  • Comment on Re^17: PDL and srand puzzle - PDL non-thread testing

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11159875]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2026-04-23 00:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.