[Omp] initialize a array with rundom numbers in a parallel loop

Lado Kumsiashvili herrlado at arcor.de
Wed Jan 4 14:57:31 PST 2006


Hallo!

To solve my excersize i have to initialize a array with random numbers
in a parallel loop(for). But i found out, that random() function from
<stdlib.h> not threadsafe ist. Is there any better Solution ?

Lado



-- 



-----------------------------------
        Lado Kumsiashvili
lado at student.uni-kassel.de
-----------------------------------




More information about the Omp mailing list