Ignore:
Timestamp:
Oct 6, 2021, 8:37:21 PM (20 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
237df76
Parents:
e16eb460
Message:

remove mutual-exclusion acquire for streams, add EINTR restarts for C stream functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.hfa

    re16eb460 r8dcb832  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Apr 28 20:37:56 2021
    13 // Update Count     : 401
     12// Last Modified On : Wed Oct  6 18:54:59 2021
     13// Update Count     : 404
    1414//
    1515
     
    5858        void close( ostype & );
    5959        ostype & write( ostype &, const char [], size_t );
    60         void acquire( ostype & );                                                       // concurrent access
    6160}; // ostream
    6261
     
    142141        ostype & nlOn( ostype & );
    143142        ostype & nlOff( ostype & );
    144 } // distribution
    145 
    146 forall( ostype & | ostream( ostype ) ) {
    147         ostype & acquire( ostype & );
    148143} // distribution
    149144
     
    312307        void close( istype & is );
    313308        istype & read( istype &, char [], size_t );
    314         void acquire( istype & );                                                       // concurrent access
    315309}; // istream
    316310
     
    379373} // distribution
    380374
    381 forall( istype & | istream( istype ) ) {
    382         istype & acquire( istype & );
    383 } // distribution
    384 
    385375// *********************************** manipulators ***********************************
    386376
Note: See TracChangeset for help on using the changeset viewer.