> Unclear… revise… “it requires a lock & unlock for every get and put of an 
> item"

Not quite exactly. One item per scheduler (could be count as native thread) is 
stored in fast thread local storage. Yes, there are still locks, but for 
separate lock per thread, and this is quite cheap, since not contended.

-- 
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