Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/io/io-acquire.cfa

    r237df76 r9ee3f54  
    1010// Created On       : Mon Mar  1 18:40:09 2021
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Oct  6 18:04:58 2021
    13 // Update Count     : 72
     12// Last Modified On : Fri Jan 14 09:13:18 2022
     13// Update Count     : 74
    1414//
    1515
     
    1818#include <mutex_stmt.hfa>
    1919
     20Duration default_preemption() { return 0; }
     21
    2022thread T {};
    2123void main( T & ) {
     
    2325
    2426        for ( 100 ) {                                                                           // expression protection
    25                 mutex(sout) sout | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
     27                mutex( sout ) sout | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
    2628        }
    2729        mutex( sout ) {                                                                         // statement protection
     
    5153        int a, b, c, d, e, f, g, h, i;
    5254        for ( 100 ) {                                                                           // expression protection
    53                 mutex(sin) sin | a | b | c | d | e | f | g | h | i;
     55                mutex( sin ) sin | a | b | c | d | e | f | g | h | i;
    5456        }
    5557        mutex( sin ) {                                                                          // statement protection
Note: See TracChangeset for help on using the changeset viewer.