Show
Ignore:
Timestamp:
07/16/07 03:30:29 (17 months ago)
Author:
krobillard
Message:

Atoms should now be thread safe. First thread experiment runs.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/thune/thread_safe/internal.h

    r428 r431  
    3131#define UNLOCK_GLOBAL   mutexUnlock( ut->env->mutex ); 
    3232 
     33#define LOCK_ATOMS      LOCK_GLOBAL 
     34#define UNLOCK_ATOMS    UNLOCK_GLOBAL 
     35 
    3336 
    3437typedef struct 
     
    4245} 
    4346AtomRec; 
     47 
     48 
     49/* 
     50typedef struct 
     51{ 
     52    uint8_t  type; 
     53    uint8_t  flags; 
     54    uint16_t _pad0; 
     55    uint32_t _pad1; 
     56    OSThread thread; 
     57} 
     58UCellThread; 
     59*/ 
    4460 
    4561