Changeset 238
- Timestamp:
- 02/02/10 17:48:20 (2 years ago)
- Files:
-
- trunk/src/core/cpuid.d (modified) (1 diff)
- trunk/src/core/sync/mutex.d (modified) (2 diffs)
- trunk/src/core/thread.d (modified) (6 diffs)
- trunk/src/rt/cover.d (modified) (1 diff)
- trunk/src/rt/trace.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/core/cpuid.d
r222 r238 748 748 749 749 750 s tatic this()750 shared static this() 751 751 { 752 752 if (hasCPUID()) { trunk/src/core/sync/mutex.d
r214 r238 181 181 version( Posix ) 182 182 { 183 s tatic this()183 shared static this() 184 184 { 185 185 int rc = pthread_mutexattr_init( &sm_attr ); … … 191 191 192 192 193 s tatic ~this()193 shared static ~this() 194 194 { 195 195 int rc = pthread_mutexattr_destroy( &sm_attr ); trunk/src/core/thread.d
r233 r238 895 895 * the process. 896 896 */ 897 staticconst int PRIORITY_MIN;897 __gshared const int PRIORITY_MIN; 898 898 899 899 … … 904 904 * the process. 905 905 */ 906 staticconst int PRIORITY_MAX;906 __gshared const int PRIORITY_MAX; 907 907 908 908 … … 1162 1162 * initialization occurs within thread_init(). 1163 1163 */ 1164 s tatic this()1164 shared static this() 1165 1165 { 1166 1166 version( Windows ) … … 1775 1775 * Performs intermediate shutdown of the thread module. 1776 1776 */ 1777 s tatic ~this()1777 shared static ~this() 1778 1778 { 1779 1779 // NOTE: The functionality related to garbage collection must be minimally … … 2408 2408 } 2409 2409 2410 const size_t PAGESIZE;2410 __gshared const size_t PAGESIZE; 2411 2411 } 2412 2412 2413 2413 2414 s tatic this()2414 shared static this() 2415 2415 { 2416 2416 static if( __traits( compiles, GetSystemInfo ) ) … … 2914 2914 2915 2915 2916 s tatic this()2916 shared static this() 2917 2917 { 2918 2918 version( Windows ) trunk/src/rt/cover.d
r220 r238 115 115 116 116 117 s tatic ~this()117 shared static ~this() 118 118 { 119 119 const NUMLINES = 16384 - 1; trunk/src/rt/trace.d
r214 r238 227 227 // Initialize and terminate. 228 228 229 s tatic this()229 shared static this() 230 230 { 231 231 trace_init(); 232 232 } 233 233 234 s tatic ~this()234 shared static ~this() 235 235 { 236 236 trace_term();
