Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.hfa

    rc8371b5 r00e9be9  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Oct 10 10:02:07 2021
    13 // Update Count     : 407
     12// Last Modified On : Wed Apr 28 20:37:56 2021
     13// Update Count     : 401
    1414//
    1515
     
    5858        void close( ostype & );
    5959        ostype & write( ostype &, const char [], size_t );
     60        void acquire( ostype & );                                                       // concurrent access
    6061}; // ostream
    6162
     
    141142        ostype & nlOn( ostype & );
    142143        ostype & nlOff( ostype & );
     144} // distribution
     145
     146forall( ostype & | ostream( ostype ) ) {
     147        ostype & acquire( ostype & );
    143148} // distribution
    144149
     
    291296
    292297trait basic_istream( istype & ) {
    293         // private
    294         bool getANL$( istype & );                                                       // get scan newline (on/off)
    295         // public
     298        bool getANL( istype & );                                                        // get scan newline (on/off)
    296299        void nlOn( istype & );                                                          // read newline
    297300        void nlOff( istype & );                                                         // scan newline
     301
    298302        void ends( istype & os );                                                       // end of output statement
    299303        int fmt( istype &, const char format[], ... ) __attribute__(( format(scanf, 2, 3) ));
     
    308312        void close( istype & is );
    309313        istype & read( istype &, char [], size_t );
     314        void acquire( istype & );                                                       // concurrent access
    310315}; // istream
    311316
     
    374379} // distribution
    375380
     381forall( istype & | istream( istype ) ) {
     382        istype & acquire( istype & );
     383} // distribution
     384
    376385// *********************************** manipulators ***********************************
    377386
Note: See TracChangeset for help on using the changeset viewer.