Changeset a51a02d for libcfa/src


Ignore:
Timestamp:
Oct 28, 2021, 11:06:53 AM (3 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
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.