-
|
Beta Was this translation helpful? Give feedback.
Answered by
Darksonn
Jan 17, 2024
Replies: 1 comment 2 replies
-
You will need to provide more information for me to be able to answer this. What exactly is Go doing? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The reason is that nobody has provided a really good justification for why we should do something else. The standard mutex is the default choice, and using the standard mutex (which is not always
std::sync::Mutex
in Tokio, due to the parking_lot flag) should always be preferred over a bespoke custom mutex implementation unless there is a really good justification for it.Also, I don't know which queue you are referring to. We don't have a queue of idle tasks.
Next time you ask a question, you should provide much more information. For this question, it would have been appropriate to: