Show
Ignore:
Timestamp:
10/12/07 17:08:21 (15 months ago)
Author:
pmoura
Message:

Updated the library object "random" by replacing the synchronized/0 directive by a synchronized/1 directive listing only the predicates that modify the random number seed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/library/random.lgt

    r3455 r3875  
    44 
    55    :- info([ 
    6         version is 1.3, 
     6        version is 1.4, 
    77        author is 'Paulo Moura', 
    8         date is 2007/3/24, 
     8        date is 2007/10/13, 
    99        comment is 'Random number generator predicates.']). 
    1010 
    11     :- synchronized.    % make all object predicates multi-threading aware 
     11    :- synchronized([random/1, randseq/4, randset/4, reset_seed/0, set_seed/1]). 
    1212 
    1313    :- initialization(::reset_seed).