std::sync::RwLock ne doit jamais être utilisé en contexte async #6

Closed
opened 2020-12-09 01:26:58 +01:00 by librelois · 1 comment

L'implémentation RwLock de la std est bloquante.

Il faut utiliser une implémentation asynchrone, je te recommande la crate async_rwlock (crate à laquelle j'ai d'ailleurs contribué :) ).

L'implémentation RwLock de la std est bloquante. Il faut utiliser une implémentation asynchrone, je te recommande la crate `async_rwlock` (crate à laquelle j'ai d'ailleurs contribué :) ).
Owner

RwLock enlevé !

RwLock enlevé !
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tuxmain/gmarche-rs#6
No description provided.