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
Some types like CFRunLoop, CFRunLoopTimer, CFRunLoopSource etc. are thread safe, and should be safe for us to mark Send + Sync as well, except for the fact that any callbacks set via CFRunLoopAddSource/CFRunLoopAddObserver/CFRunLoopAddTimer are not necessarily guaranteed to be thread safe.
Can we assume that that is a guarantee, and then mark the types as Send + Sync?
Some types like
CFRunLoop
,CFRunLoopTimer
,CFRunLoopSource
etc. are thread safe, and should be safe for us to markSend + Sync
as well, except for the fact that any callbacks set viaCFRunLoopAddSource
/CFRunLoopAddObserver
/CFRunLoopAddTimer
are not necessarily guaranteed to be thread safe.Can we assume that that is a guarantee, and then mark the types as
Send + Sync
?See also servo/core-foundation-rs#649.
The text was updated successfully, but these errors were encountered: