Ignore:
Timestamp:
Apr 20, 2018, 9:04:36 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
Children:
e6d39fe
Parents:
81bb114
Message:

Fixed recording of last thread to acquire spinlock

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/kernel.c

    r81bb114 r9181f1d  
    725725                thrd->dbg_next = NULL;
    726726        }
     727
     728        void __cfaabi_dbg_record(__spinlock_t & this, const char * prev_name) {
     729                this.prev_name = prev_name;
     730                this.prev_thrd = TL_GET( this_thread );
     731        }
    727732)
    728733// Local Variables: //
Note: See TracChangeset for help on using the changeset viewer.