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
I want to lock a Mutex in my poll_read method but it seems like that there is no way to lock and wait for a Mutex in a non-async function. My workaround is creating an async closure and getting it boxed and pinned, storing it somewhere else, and then polling it, which is really annoying and inefficient.