Can anyone explain the meaning of " Get may choose to ignore the pool and
treat it as empty." in https://golang.org/pkg/sync/#Pool.Get?

> Get selects an arbitrary item from the Pool, removes it from the Pool,
and returns it to the caller. Get may choose to ignore the pool and treat
it as empty. Callers should not assume any relation between values passed
to Put and the values returned by Get.

-- 
Jingguo

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to