Re:Two years of production Go at CloudFlare
by SamReidHughes on Tuesday November 12, 2013 @01:06AM
(#6716143)
Have the things in the channel be the equivalent of C#'s IDisposable or something, then the goroutine can clean them up itself.
[ Parent
| on HN ]
Re:Two years of production Go at CloudFlare
by pjmlp on Tuesday November 12, 2013 @02:40AM
(#6716372)
Have you read pcwalton example?
How can the goroutine clean them if it is dead?
Re:Two years of production Go at CloudFlare
by SamReidHughes on Tuesday November 12, 2013 @01:46PM
(#6719888)
Sorry, the words coming out of my fingers didn't match the thought in my mind. The channel can dispose of them.