Commits

Remi Meier committed 3acc863

make thread_descriptor accessible to pypy

Comments (0)

Files changed (2)

   gcptr **shadowstack_end_ref;
   gcptr *thread_local_obj_ref;
   gcptr old_thread_local_obj;
-
+  /* sync with pypy stmgc: */
   NURSERY_FIELDS_DECL
 
   long atomic;   /* 0 = not atomic, > 0 atomic */
 #define stm_pop_root()      (*--stm_shadowstack)
 
 extern __thread revision_t stm_private_rev_num;
+extern __thread struct tx_descriptor *thread_descriptor; /* XXX: stm_ prefix */
 gcptr stm_DirectReadBarrier(gcptr);
 gcptr stm_WriteBarrier(gcptr);
 gcptr stm_RepeatReadBarrier(gcptr);