Changes in libcfa/src/startup.cfa [aa15f49:96f002c1]
- File:
-
- 1 edited
-
libcfa/src/startup.cfa (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/startup.cfa
raa15f49 r96f002c1 10 10 // Created On : Tue Jul 24 16:21:57 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Jan 17 16:41:54 202213 // Update Count : 5512 // Last Modified On : Sat Jan 9 23:18:23 2021 13 // Update Count : 34 14 14 // 15 15 … … 17 17 #include <locale.h> // setlocale 18 18 #include <stdlib.h> // getenv 19 #include "bits/defs.hfa" // rdtscl20 19 #include "startup.hfa" 21 22 extern uint32_t __global_random_seed; // sequential/concurrent23 extern uint32_t __global_random_state; // sequential24 20 25 21 extern "C" { … … 27 23 void __cfaabi_appready_startup( void ) { 28 24 tzset(); // initialize time global variables 25 setlocale( LC_NUMERIC, getenv("LANG") ); 29 26 #ifdef __CFA_DEBUG__ 30 27 extern void heapAppStart(); … … 51 48 void __cfaabi_core_startup( void ) __attribute__(( constructor( STARTUP_PRIORITY_CORE ) )); 52 49 void __cfaabi_core_startup( void ) { 53 __global_random_state = __global_random_seed = rdtscl();54 50 __cfaabi_interpose_startup(); 55 51 __cfaabi_device_startup();
Note:
See TracChangeset
for help on using the changeset viewer.