fix support for local pages with threads

This commit is contained in:
Ricardo Rocha
2011-12-09 16:06:17 +00:00
parent 2ab4ce503e
commit 6bb26f4764
4 changed files with 261 additions and 173 deletions

View File

@@ -606,6 +606,7 @@ static inline void adjust_freeze_registers(void) {
static inline void mark_as_completed(sg_fr_ptr sg_fr) {
CACHE_REGS
LOCK_SG_FR(sg_fr);
SgFr_state(sg_fr) = complete;
UNLOCK_SG_FR(sg_fr);