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
Otherwise the compiler complains of raw pointers (within Env) being unSendable.
My join function "works" only if I replace b with something that doesn't call lb, the second lambda. Otherwise Emacs complete freezes as soon as I invoke the Lisp shown above. Poking around in the source code of your library, I suspect it has something to do with Env. Having these unsafe trait instances as I do might just be impossible.
Do you have any ideas as to why Emacs would entirely freeze (as opposed to just erroring) when I invoke racing-join? Is Env entirely thread-unsafe?
Thank you kindly.
The text was updated successfully, but these errors were encountered:
I am playing around with exposing some of Rust's
rayon
crate to Emacs. I've started with attempting to implementjoin
:Ignoring the return type for the moment. After building and loading, I invoke it like this:
Here,
Lambda
is a wrapper type I've introduced to allow these evil trait instances:Otherwise the compiler complains of raw pointers (within
Env
) being unSend
able.My
join
function "works" only if I replaceb
with something that doesn't calllb
, the second lambda. Otherwise Emacs complete freezes as soon as I invoke the Lisp shown above. Poking around in the source code of your library, I suspect it has something to do withEnv
. Having theseunsafe
trait instances as I do might just be impossible.Do you have any ideas as to why Emacs would entirely freeze (as opposed to just erroring) when I invoke
racing-join
? IsEnv
entirely thread-unsafe?Thank you kindly.
The text was updated successfully, but these errors were encountered: