Changes in / [6db62fa:2a77817]
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/fstream.cfa
r6db62fa r2a77817 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 -
tests/PRNG.cfa
r6db62fa r2a77817 8 8 // Created On : Wed Dec 29 09:38:12 2021 9 9 // Last Modified By : Peter A. Buhr 10 // Last Modified On : Sat Feb 12 12:23:57202211 // Update Count : 34 210 // Last Modified On : Sat Apr 9 15:21:14 2022 11 // Update Count : 344 12 12 // 13 13 … … 22 22 #include <mutex_stmt.hfa> 23 23 24 // FIX ME: spurious characters appear in output25 Duration default_preemption() { return 0; }26 27 24 #ifdef TIME // use -O2 -nodebug 28 25 #define STARTTIME start = timeHiRes() -
tests/io/io-acquire.cfa
r6db62fa r2a77817 10 10 // Created On : Mon Mar 1 18:40:09 2021 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jan 14 09:13:18202213 // Update Count : 7 412 // Last Modified On : Sat Apr 9 15:22:03 2022 13 // Update Count : 76 14 14 // 15 15 … … 17 17 #include <thread.hfa> 18 18 #include <mutex_stmt.hfa> 19 20 Duration default_preemption() { return 0; }21 19 22 20 thread T {};
Note: See TracChangeset
for help on using the changeset viewer.