Changeset 9f865d1 for src/tests/prodcons.c
- Timestamp:
- Oct 30, 2017, 6:22:50 PM (6 years ago)
- Branches:
- ADT, 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, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 2ba0bc7
- Parents:
- bfc0f40
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/prodcons.c
rbfc0f40 r9f865d1 10 10 // Created On : Mon Sep 18 12:23:39 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Sep 20 17:03:28201713 // Update Count : 4 012 // Last Modified On : Mon Oct 30 18:01:19 2017 13 // Update Count : 41 14 14 // 15 15 … … 30 30 // 1st resume starts here 31 31 for ( int i = 0; i < prod.N; i += 1 ) { 32 int p1 = (unsigned int)rand48() % 100; // non-negative33 int p2 = (unsigned int)rand48() % 100;32 int p1 = rand48( 100 ); 33 int p2 = rand48( 100 ); 34 34 sout | p1 | " " | p2 | endl; 35 35 int status = delivery( *prod.c, p1, p2 );
Note: See TracChangeset
for help on using the changeset viewer.