Closed moulins closed 1 year ago
This adds new APIs for safe field-level mutation:
barrier
Write
field!
unlock!
Unlock
Gc::write_barrier
Gc::write
&'gc Write<T>
See the field_locks test for a simple example.
field_locks
This adds new APIs for safe field-level mutation:
barrier
module, withWrite
,field!
,unlock!
;Unlock
into thebarrier
module;Gc::write_barrier
toGc::write
and make it return a&'gc Write<T>
.See the
field_locks
test for a simple example.