RustAudio / rust-jack

Rust bindings for JACK. A realtime sound server for audio and midi IO
http://rustaudio.github.io/rust-jack/
MIT License
211 stars 33 forks source link

Implement Send for Client and AsyncClient #71

Closed Javyre closed 7 years ago

Javyre commented 7 years ago

When I try to pass the Client instance to another thread, the compiler tells me the Send trait is not satisfied.

the trait `std::marker::Send` is not implemented for `*mut jack_sys::Struct__jack_client

Is there a reason for this not being possible? I don't have mutch experience in rust but from what I read, there usually isn't mutch reason to not have Send implemented in most types.

wmedrano commented 7 years ago

There's no reason for this, implementing Send sgtm. 🍍

Javyre commented 7 years ago

This has been resolved ( #72 ) Closing issue