Changeset 3800
- Timestamp:
- 07/25/08 15:30:46 (4 months ago)
- Files:
-
- trunk/lib/common/tango/core/Thread.d (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/common/tango/core/Thread.d
r3701 r3800 2113 2113 2114 2114 t.start(); 2115 synchronized 2115 synchronized( this ) 2116 2116 { 2117 2117 m_all[t] = t; … … 2136 2136 2137 2137 t.start(); 2138 synchronized 2138 synchronized( this ) 2139 2139 { 2140 2140 m_all[t] = t; … … 2160 2160 body 2161 2161 { 2162 synchronized 2162 synchronized( this ) 2163 2163 { 2164 2164 m_all[t] = t; … … 2184 2184 body 2185 2185 { 2186 synchronized 2186 synchronized( this ) 2187 2187 { 2188 2188 m_all.remove( t ); … … 2196 2196 final int opApply( int delegate( inout Thread ) dg ) 2197 2197 { 2198 synchronized 2198 synchronized( this ) 2199 2199 { 2200 2200 int ret = 0; … … 2226 2226 final void joinAll( bool rethrow = true ) 2227 2227 { 2228 synchronized 2228 synchronized( this ) 2229 2229 { 2230 2230 // NOTE: This loop relies on the knowledge that m_all uses the












