[BACK]Return to specific.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / gc / include / private

Diff for /OpenXM_contrib2/asir2000/gc/include/private/specific.h between version 1.3 and 1.4

version 1.3, 2002/07/24 08:00:21 version 1.4, 2003/06/24 05:11:42
Line 85  static __inline__ void * PREFIXED(getspecific) (tsd * 
Line 85  static __inline__ void * PREFIXED(getspecific) (tsd * 
     unsigned hash_val = CACHE_HASH(qtid);      unsigned hash_val = CACHE_HASH(qtid);
     tse * volatile * entry_ptr = key -> cache + hash_val;      tse * volatile * entry_ptr = key -> cache + hash_val;
     tse * entry = *entry_ptr;   /* Must be loaded only once.    */      tse * entry = *entry_ptr;   /* Must be loaded only once.    */
     if (entry -> qtid == qtid) {      if (EXPECT(entry -> qtid == qtid, 1)) {
       GC_ASSERT(entry -> thread == pthread_self());        GC_ASSERT(entry -> thread == pthread_self());
       return entry -> value;        return entry -> value;
     }      }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>