Changeset 398
- Timestamp:
- 07/21/08 11:03:09 (4 months ago)
- Files:
-
- trunk/tools/tools/threads.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tools/tools/threads.d
r397 r398 92 92 res = maker(); 93 93 synchronized(this) values ~= res; 94 check("ptr:TlsSetValue", TlsSetValue(key, cast(void*) res));94 if (!TlsSetValue(key, cast(void*) res)) throw new Exception("ptr:TlsSetValue failed"); 95 95 } 96 96 return res;
