Changeset cdbab55 for tests/concurrent/examples/boundedBufferEXT.c
- Timestamp:
- Aug 21, 2018, 2:24:29 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 2a6292d
- Parents:
- 2b79a70 (diff), efa8b6a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
tests/concurrent/examples/boundedBufferEXT.c (moved) (moved from src/tests/concurrent/examples/boundedBufferEXT.c ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/concurrent/examples/boundedBufferEXT.c
r2b79a70 rcdbab55 8 8 // Created On : Wed Apr 18 22:52:12 2018 9 9 // Last Modified By : Peter A. Buhr 10 // Last Modified On : Wed May 2 16:12:58201811 // Update Count : 710 // Last Modified On : Thu Aug 16 08:17:03 2018 11 // Update Count : 8 12 12 // 13 13 14 #include <stdlib > // random15 #include <fstream >16 #include <kernel >17 #include <thread >14 #include <stdlib.hfa> // random 15 #include <fstream.hfa> 16 #include <kernel.hfa> 17 #include <thread.hfa> 18 18 #include <unistd.h> // getpid 19 19 … … 73 73 void main( Consumer & cons ) with( cons ) { 74 74 sum = 0; 75 for ( ;;) {75 for () { 76 76 yield( random( 5 ) ); 77 77 int item = remove( buffer );
Note:
See TracChangeset
for help on using the changeset viewer.