From 86823626244cd767526f1e49d06248c53b72ff21 Mon Sep 17 00:00:00 2001 From: Karl Chen Date: Tue, 3 Jun 2003 18:15:37 +0000 Subject: [PATCH] . svn path=/trunk/boinc/; revision=1282 --- lib/util.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/util.C b/lib/util.C index ead4bd8049..11402d44e8 100755 --- a/lib/util.C +++ b/lib/util.C @@ -218,6 +218,8 @@ int lock_file(char* filename) { return retval; } +// TODO: should use drand48 and/or drand_r (multithreaded re-entrant version) +// when available (check using autoconf) -- quarl double drand() { return (double)rand()/(double)RAND_MAX; }