- Timestamp:
- Apr 5, 2011 9:28:24 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70979
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/include/internal/process.h
r36363 r36549 33 33 RT_C_DECLS_BEGIN 34 34 35 extern RTPROCESSg_ProcessSelf;36 extern RTPROCPRIORITYg_enmProcessPriority;37 extern charg_szrtProcExePath[RTPATH_MAX];38 extern size_tg_cchrtProcExePath;39 extern size_tg_cchrtProcDir;40 extern size_tg_offrtProcName;41 extern bool volatileg_frtAtExitCalled;35 extern DECLHIDDEN(RTPROCESS) g_ProcessSelf; 36 extern DECLHIDDEN(RTPROCPRIORITY) g_enmProcessPriority; 37 extern DECLHIDDEN(char) g_szrtProcExePath[RTPATH_MAX]; 38 extern DECLHIDDEN(size_t) g_cchrtProcExePath; 39 extern DECLHIDDEN(size_t) g_cchrtProcDir; 40 extern DECLHIDDEN(size_t) g_offrtProcName; 41 extern DECLHIDDEN(bool volatile) g_frtAtExitCalled; 42 42 43 43 /** -
trunk/src/VBox/Runtime/include/internal/time.h
r28800 r36549 5 5 6 6 /* 7 * Copyright (C) 2006-20 07Oracle Corporation7 * Copyright (C) 2006-2011 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 34 34 #if defined(IN_RING3) || defined(IN_RC) 35 35 36 extern uint64_tg_u64ProgramStartNanoTS;37 extern uint64_tg_u64ProgramStartMicroTS;38 extern uint64_tg_u64ProgramStartMilliTS;36 extern DECLHIDDEN(uint64_t) g_u64ProgramStartNanoTS; 37 extern DECLHIDDEN(uint64_t) g_u64ProgramStartMicroTS; 38 extern DECLHIDDEN(uint64_t) g_u64ProgramStartMilliTS; 39 39 40 40 #endif -
trunk/src/VBox/Runtime/r3/init.cpp
r36363 r36549 75 75 *******************************************************************************/ 76 76 /** The number of calls to RTR3Init. */ 77 static int32_t volatile g_cUsers = 0;77 static int32_t volatile g_cUsers = 0; 78 78 /** Whether we're currently initializing the IPRT. */ 79 static bool volatile g_fInitializing = false;79 static bool volatile g_fInitializing = false; 80 80 81 81 /** The process path. 82 82 * This is used by RTPathExecDir and RTProcGetExecutablePath and set by rtProcInitName. */ 83 charg_szrtProcExePath[RTPATH_MAX];83 DECLHIDDEN(char) g_szrtProcExePath[RTPATH_MAX]; 84 84 /** The length of g_szrtProcExePath. */ 85 size_tg_cchrtProcExePath;85 DECLHIDDEN(size_t) g_cchrtProcExePath; 86 86 /** The length of directory path component of g_szrtProcExePath. */ 87 size_tg_cchrtProcDir;87 DECLHIDDEN(size_t) g_cchrtProcDir; 88 88 /** The offset of the process name into g_szrtProcExePath. */ 89 size_tg_offrtProcName;89 DECLHIDDEN(size_t) g_offrtProcName; 90 90 91 91 /** 92 92 * Program start nanosecond TS. 93 93 */ 94 uint64_tg_u64ProgramStartNanoTS;94 DECLHIDDEN(uint64_t) g_u64ProgramStartNanoTS; 95 95 96 96 /** 97 97 * Program start microsecond TS. 98 98 */ 99 uint64_tg_u64ProgramStartMicroTS;99 DECLHIDDEN(uint64_t) g_u64ProgramStartMicroTS; 100 100 101 101 /** 102 102 * Program start millisecond TS. 103 103 */ 104 uint64_tg_u64ProgramStartMilliTS;104 DECLHIDDEN(uint64_t) g_u64ProgramStartMilliTS; 105 105 106 106 /** 107 107 * The process identifier of the running process. 108 108 */ 109 RTPROCESSg_ProcessSelf = NIL_RTPROCESS;109 DECLHIDDEN(RTPROCESS) g_ProcessSelf = NIL_RTPROCESS; 110 110 111 111 /** 112 112 * The current process priority. 113 113 */ 114 RTPROCPRIORITYg_enmProcessPriority = RTPROCPRIORITY_DEFAULT;115 116 /** 117 * Set if the atexit callback has been called, i.e. indicating 118 * that the process is terminating. 119 */ 120 bool volatileg_frtAtExitCalled = false;114 DECLHIDDEN(RTPROCPRIORITY) g_enmProcessPriority = RTPROCPRIORITY_DEFAULT; 115 116 /** 117 * Set if the atexit callback has been called, i.e. indicating 118 * that the process is terminating. 119 */ 120 DECLHIDDEN(bool volatile) g_frtAtExitCalled = false; 121 121 122 122 #ifdef IPRT_WITH_ALIGNMENT_CHECKS
Note:
See TracChangeset
for help on using the changeset viewer.