Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
Is golang.org/x/text/message's Printer thread safe?
106 views
Skip to first unread message
Xiangrong Fang
unread,
Apr 22, 2024, 5:23:30 AM
4/22/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Is
golang.org/x/text/message's
*message.Printer safe to use in goroutines?
Thanks.
Jan Mercl
unread,
Apr 22, 2024, 5:39:11 AM
4/22/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Xiangrong Fang, golang-nuts
On Mon, Apr 22, 2024 at 11:23 AM Xiangrong Fang <
xrf...@gmail.com
> wrote:
> Is
golang.org/x/text/message's
*message.Printer safe to use in goroutines?
I don't know, but usually things are safe for concurrent use by
multiple goroutines only when explicitly documented as such.
Xiangrong Fang
unread,
Apr 22, 2024, 8:42:09 PM
4/22/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jan Mercl, golang-nuts
Thanks for the tip!
Jan Mercl <
0xj...@gmail.com
> 于2024年4月22日周一 17:38写道:
Reply all
Reply to author
Forward
0 new messages