GuillaumeGomez / rust-GSL

A GSL (the GNU Scientific Library) binding for Rust
190 stars 46 forks source link

Send and sync macros #126

Open balazsu opened 2 years ago

balazsu commented 2 years ago

Implementing send and sync traits. Those are empty as GSL library is thread safe : https://www.gnu.org/software/gsl/doc/html/usage.html#thread-safety

GuillaumeGomez commented 2 years ago

I wasn't aware of this, thanks!

As far as I can see, you only implemented for items which implement Drop. I think it'd be better to have this in the two other branches instead to be sure none is left out.