Changeset 408 for branches/thune/thread_safe/thread.c
- Timestamp:
- 06/11/07 04:07:02 (18 months ago)
- Files:
-
- 1 modified
-
branches/thune/thread_safe/thread.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/thune/thread_safe/thread.c
r387 r408 159 159 160 160 161 void ur_pushContext( UThread* ut, UContext* ctx ) 162 { 163 UCell* cell; 164 UBlock* blk = ur_blockPtr( BLK_CTX_STACK ); 165 UR_EXPAND_1( UCell, blk, cell ); 166 ur_copyCell( cell, *ctx ); 167 } 168 169 170 void ur_popContext( UThread* ut ) 171 { 172 UBlock* blk = ur_blockPtr( BLK_CTX_STACK ); 173 if( blk->used ) 174 --blk->used; 175 } 176 177 161 178 UBinary* ur_threadTmp( UThread* ut ) 162 179 {
