You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.
There are cases when an object can be sent to another thread as long as no other references to it exist in safe code.
Add a sendable reference type NewRef with the following features:
Derefs to the object
Implements Send
Does not implement Clone
A method or function, tentatively named park(), promotes a NewRef into Ref, effectively parking the object in the calling thread.
See some rationale in a comment on the GObject-introspection bug regarding thread-safety annotations.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There are cases when an object can be sent to another thread as long as no other references to it exist in safe code.
Add a sendable reference type
NewRef
with the following features:Deref
s to the objectSend
Clone
park()
, promotes aNewRef
intoRef
, effectively parking the object in the calling thread.See some rationale in a comment on the GObject-introspection bug regarding thread-safety annotations.
The text was updated successfully, but these errors were encountered: