Ignore:
Timestamp:
Oct 28, 2021, 11:06:53 AM (7 months ago)
Author:
caparsons <caparson@…>
Branches:
enum, forall-pointer-decay, master
Children:
a2e4b0c
Parents:
056cbdb
Message:

fstream mutexstmt lock/unlock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/fstream.cfa

    r056cbdb ra51a02d  
    185185} // release
    186186
     187void lock( ofstream & os ) { acquire( os ); }
     188void unlock( ofstream & os ) { release( os ); }
     189
    187190void ?{}( osacquire & acq, ofstream & os ) { lock( os.lock$ ); &acq.os = &os; }
    188191void ^?{}( osacquire & acq ) { release( acq.os ); }
Note: See TracChangeset for help on using the changeset viewer.