Changes in tests/io/io-acquire.cfa [9ee3f54:237df76]
- File:
-
- 1 edited
-
tests/io/io-acquire.cfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/io/io-acquire.cfa
r9ee3f54 r237df76 10 10 // Created On : Mon Mar 1 18:40:09 2021 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jan 14 09:13:18 202213 // Update Count : 7 412 // Last Modified On : Wed Oct 6 18:04:58 2021 13 // Update Count : 72 14 14 // 15 15 … … 18 18 #include <mutex_stmt.hfa> 19 19 20 Duration default_preemption() { return 0; }21 22 20 thread T {}; 23 21 void main( T & ) { … … 25 23 26 24 for ( 100 ) { // expression protection 27 mutex( sout) sout | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;25 mutex(sout) sout | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; 28 26 } 29 27 mutex( sout ) { // statement protection … … 53 51 int a, b, c, d, e, f, g, h, i; 54 52 for ( 100 ) { // expression protection 55 mutex( sin) sin | a | b | c | d | e | f | g | h | i;53 mutex(sin) sin | a | b | c | d | e | f | g | h | i; 56 54 } 57 55 mutex( sin ) { // statement protection
Note:
See TracChangeset
for help on using the changeset viewer.