Changes in / [97f8f0f:dee680c]
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io/call.cfa.in
r97f8f0f rdee680c 214 214 __attribute__((unused)) bool parked; 215 215 parked = wait( future ); 216 #if defined(CFA_HAVE_LINUX_IO_URING_H) 216 217 __STATS__(false, if(!parked) io.submit.nblk += 1; ) 218 #endif 217 219 if( future.result < 0 ) {{ 218 220 errno = -future.result; -
tests/time.cfa
r97f8f0f rdee680c 10 10 // Created On : Tue Mar 27 17:24:56 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jul 19 08:06:59202413 // Update Count : 7 512 // Last Modified On : Tue Aug 13 09:09:47 2024 13 // Update Count : 76 14 14 // 15 15 … … 18 18 #include <stdlib.h> // putenv 19 19 20 extern "C" size_t malloc_unfreed() { return 1024; } // guess at unfreed storage from putenv20 extern "C" size_t malloc_unfreed() { return 2048; } // guess at unfreed storage from putenv/tzset 21 21 22 22 int main() { 23 23 // Set fixed time location to obtain repeatable output where ever run. 24 putenv( "TZ=America/Toronto" ); // setfixed time zone24 putenv( "TZ=America/Toronto" ); // pick fixed time zone 25 25 // tzset has the stupidest interface I have ever seen. 26 26 tzset(); // set time zone
Note: See TracChangeset
for help on using the changeset viewer.