Changeset 58caf150 for src/tests/concurrent/examples/boundedBufferEXT.c
- Timestamp:
- Apr 20, 2018, 10:59:51 PM (5 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, with_gc
- Children:
- c8ad5d9
- Parents:
- f14d956
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/concurrent/examples/boundedBufferEXT.c
rf14d956 r58caf150 8 8 // Created On : Wed Apr 18 22:52:12 2018 9 9 // Last Modified By : Peter A. Buhr 10 // Last Modified On : Wed Apr 18 22:56:17201811 // Update Count : 210 // Last Modified On : Fri Apr 20 22:25:14 2018 11 // Update Count : 6 12 12 // 13 13 … … 20 20 //Duration default_preemption() { return 0; } 21 21 22 enum { BufferSize = 5 };22 enum { BufferSize = 50 }; 23 23 24 24 forall( otype T ) … … 33 33 forall( otype T ) 34 34 int query( Buffer(T) & buffer ) { return buffer.count; } 35 36 forall( otype T ) // forward 37 T remove( Buffer(T) & mutex buffer ); 35 38 36 39 forall( otype T )
Note: See TracChangeset
for help on using the changeset viewer.