Module gdnative::thread_access[][src]

Typestates to express thread safety of Godot types.

Structs

Shared

Marker that indicates that a value currently might be shared in the same or over multiple threads.

ThreadLocal

Marker that indicates that a value can currently only be shared in the same thread.

Unique

Marker that indicates that a value currently only has a single unique reference.

Traits

LocalThreadAccess

Trait to parametrise over the access markers that are local to the current thread: Unique and ThreadLocal.

NonUniqueThreadAccess

Trait to parametrise over the access markers that are not unique: Shared and ThreadLocal.

ThreadAccess

Trait to parametrise over the access markers Unique, Shared, and ThreadLocal.