Changeset 467c8b7


Ignore:
Timestamp:
Jan 20, 2021, 8:42:33 PM (3 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
c08c3cf
Parents:
6f36dde
Message:

start adding I/O acquire

Location:
libcfa/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.cfa

    r6f36dde r467c8b7  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Aug 24 08:31:35 2020
    13 // Update Count     : 1130
     12// Last Modified On : Sat Jan 16 11:24:50 2021
     13// Update Count     : 1131
    1414//
    1515
     
    397397        ostype & nlOff( ostype & os ) {
    398398                nlOff( os );                                                                    // call void returning
     399                return os;
     400        } // nlOff
     401
     402        ostype & acquire( ostype & os ) {
     403                acquire( os );                                                                  // call void returning
    399404                return os;
    400405        } // nlOff
  • libcfa/src/iostream.hfa

    r6f36dde r467c8b7  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Aug 11 22:16:14 2020
    13 // Update Count     : 350
     12// Last Modified On : Sat Jan 16 11:24:48 2021
     13// Update Count     : 351
    1414//
    1515
     
    4141        void nlOn( ostype & );                                                          // turn auto-newline state on
    4242        void nlOff( ostype & );                                                         // turn auto-newline state off
     43        void acquire( ostype & );                                                       // acquire mutex lock
    4344
    4445        const char * sepGet( ostype & );                                        // get separator string
     
    137138        ostype & nlOn( ostype & );
    138139        ostype & nlOff( ostype & );
     140        ostype & acquire( ostype & );
    139141} // distribution
    140142
Note: See TracChangeset for help on using the changeset viewer.