Похожие чаты

What happens when we use blocking code (mutex) in async

function? is there generic for safe access which works both for async / sync

2 ответов

13 просмотров

so the mutex_lock wouldn't be send, which means you can't hold the lock between await points otherwise it should be fine, but you should see what the runtime executor you're using is saying

Holmes
so the mutex_lock wouldn't be send, which means yo...

and your runtime most likely provides an async mutex

Похожие вопросы

Обсуждают сегодня

Is Kadena onto something special? No one really knows. Good luck!
Bright Uncle Stephen EqualBet
40
А кто-то пробовал, уезжая из Эстонии получить э-рез и продолжить вести предпринимательскую деятельность внутри Эстонии, используя свой OÜ?
Lalalashechki Lalala
62
Гайз, кто-нибудь пробовал запустить probe-rs под камень, которого нет в probe-rs? Мб есть какой-нибудь пример у кого... Через target-gen попробовал сгенерировать chip-descript...
Максим Смирнов
1
isn't utxo commitements pretty close though if someone wanted to get it over the finish line? my understanding is that most of the ground work was already down by verde
Luke High - Rabbi Of Bcash High Rabbi Of Bcash
23
@MrMiscipitlick А можешь макрос написать, который будет вычислять смещение относительно переданных меток? Просто .label1-.label2, и вернуть значение.
КТ315
35
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
is the buyback program live and at what prices are the purchases fixed? excuse me for the bland PA question, sophisticated defi people keke
Imnothere
20
what is the current inflation of fxs?
Imnothere
12
А еще в перле можно уже @arr1 + @arr2?
Sergei Zhmylove
53
Чем оно проблема?
Nikita Uzumaki
21
Карта сайта