problem with "goroutine" binding "m"

63 views
Skip to first unread message

Benjamin Yim

unread,
Jul 23, 2022, 10:24:51 AM7/23/22
to golang-nuts
If I want to bind "goroutine" to "m" and run it. What are the more demanding issues I should need to consider?
priority? Deadlocks? Performance?

Ian Lance Taylor

unread,
Jul 23, 2022, 10:31:16 AM7/23/22
to Benjamin Yim, golang-nuts
On Sat, Jul 23, 2022, 7:24 AM Benjamin Yim <yan222...@gmail.com> wrote:
If I want to bind "goroutine" to "m" and run it. What are the more demanding issues I should need to consider?
priority? Deadlocks? Performance?

There can be some performance costs, though usually not severe.  There are no particular issues with priority or deadlocks.

Why do you want to?

Ian

Benjamin Yim

unread,
Jul 23, 2022, 11:37:07 AM7/23/22
to Ian Lance Taylor, golang-nuts
Thanks.

Ian Lance Taylor <ia...@golang.org> 于2022年7月23日周六 22:30写道:
Reply all
Reply to author
Forward
0 new messages