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