Ignore:
Timestamp:
Jan 2, 2018, 1:53:13 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
b3048d4
Parents:
490d9972
Message:

change name of random_seed to srandom, and make all random calls through rand48

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/concurrent/examples/datingService.c

    r490d9972 r54aba8d  
    88// Created On       : Mon Oct 30 12:56:20 2017
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Wed Dec  6 12:19:19 2017
    11 // Update Count     : 21
     10// Last Modified On : Tue Jan  2 12:19:01 2018
     11// Update Count     : 22
    1212//
    1313
     
    9191        Boy  *boys[NoOfPairs];
    9292
    93         random_seed( /*getpid()*/ 103 );
     93        srandom( /*getpid()*/ 103 );
    9494
    9595        for ( unsigned int i = 0; i < NoOfPairs; i += 1 ) {
Note: See TracChangeset for help on using the changeset viewer.