• Kevin Modzelewski's avatar
    Add enough locking to make the GRWL somewhat safe · 94061fa5
    Kevin Modzelewski authored
    Add some basic locking to:
    - code generation (one lock for all of it)
    - garbage collection (spin lock for allocations, global serialization for collections)
    - lists (mutex per list object)
    
    Can run the GRWL on some simple tests (microbenchmarks/thread_contention.py and thread_uncontended.py)
    Performance is not great yet
    94061fa5
thread_contention_test.py 416 Bytes