Comment on Asynchronous clean-upparentComments−yencabulator2yIf you adopt uncolored async (unless perhaps you're using a thread-per-core scheduler), you just can't manipulate these data structures. At all.A simple call to https://pkg.go.dev/runtime#LockOSThread solves that.Pay the cost of backwards compat when you need it, don't pay it when you don't need it.
Comments
A simple call to https://pkg.go.dev/runtime#LockOSThread solves that.
Pay the cost of backwards compat when you need it, don't pay it when you don't need it.