rusticl/mesa: mark PipeTransfer as Send
Signed-off-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: @LingMan <18294-LingMan@users.noreply.gitlab.freedesktop.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24062>
This commit is contained in:
parent
5492046240
commit
e994935c1f
1 changed files with 3 additions and 0 deletions
|
|
@ -13,6 +13,9 @@ pub struct PipeTransfer {
|
|||
is_buffer: bool,
|
||||
}
|
||||
|
||||
// SAFETY: Transfers are safe to send between threads
|
||||
unsafe impl Send for PipeTransfer {}
|
||||
|
||||
pub struct GuardedPipeTransfer<'a> {
|
||||
inner: PipeTransfer,
|
||||
ctx: &'a PipeContext,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue