Changeset 7a1b7e6
- Timestamp:
- Apr 9, 2022, 4:39:28 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, master, pthread-emulation, qualifiedEnum
- Children:
- ee4b77b
- Parents:
- 11a1240
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.cfa
r11a1240 r7a1b7e6 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Jan 10 08:45:05202213 // Update Count : 51 312 // Last Modified On : Sat Apr 9 14:55:54 2022 13 // Update Count : 515 14 14 // 15 15 … … 161 161 for ( cnt; 10 ) { 162 162 errno = 0; 163 disable_interrupts(); 163 164 len = vfprintf( (FILE *)(os.file$), format, args ); 165 enable_interrupts(); 164 166 if ( len != EOF || errno != EINTR ) break; // timer interrupt ? 165 167 if ( cnt == 9 ) abort( "ofstream fmt EINTR spinning exceeded" ); … … 293 295 for () { // no check for EINTR limit waiting for keyboard input 294 296 errno = 0; 297 disable_interrupts(); 295 298 len = vfscanf( (FILE *)(is.file$), format, args ); 299 enable_interrupts(); 296 300 if ( len != EOF || errno != EINTR ) break; // timer interrupt ? 297 301 } // for
Note: See TracChangeset
for help on using the changeset viewer.