Google
Home
Drive
Calendar
Translate
Mobile
Books
Offers
Wallet
Shopping
Blogger
Finance
Photos
Videos
Even more »
ONLINE_CASINO_WITH_BONUS
Groups
Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Groups
golang-nuts
Conversations
About
Confuse about runtime.AddCleanup
102 views
Skip to first unread message
xie cui
unread,
Aug 16, 2025, 12:21:45 PM
Aug 16
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
in this cl
https://go-review.googlesource.com/c/go/+/638557/12/src/net/fd_posix.go
In my understand, fd and pfd is pointer to same slot cell in gc, why runtime.AddCleanup can not accept runtime.AddCleanup(fd, func(fd){}, fd) as cleanup arg, in my mind, I think they are fd and pfd is same to gc collector.
Reply all
Reply to author
Forward
0 new messages
Search
Clear search
Close search
Google apps
Main menu
Advertising Programs
Business Solutions
+Google
About Google
© 2013 -
Privacy & Terms
Design
a Mobile Site
View Site in Mobile
|
Classic
Share by: