lock property

  1. @UnsignedInt()
int lock
getter/setter pair

Unfortunate lock, but significantly simplifies the implementation. Required for thread-safe attaching and detaching.

Implementation

@ma_spinlock()
external int lock;