Show
Ignore:
Timestamp:
06/11/07 04:07:02 (18 months ago)
Author:
krobillard
Message:

Thune - Simplified macros with macro! datatype.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/thune/thread_safe/thread.c

    r387 r408  
    159159 
    160160 
     161void 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 
     170void ur_popContext( UThread* ut ) 
     171{ 
     172    UBlock* blk = ur_blockPtr( BLK_CTX_STACK ); 
     173    if( blk->used ) 
     174        --blk->used; 
     175} 
     176 
     177 
    161178UBinary* ur_threadTmp( UThread* ut ) 
    162179{