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

Lado Kumsiashvili herrlado at gmail.com
Wed Jan 4 15:04:27 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