Descriptionsync/once: panicking functions still marked as complete
This is a corner case, and one that was even tested, but this
CL changes the behavior to say that f is "complete" even if it panics.
But don't think of it that way, think of it as sync.Once runs
the function only the first time it is called, rather than
repeatedly until a run of the function completes.
Fixes issue 8118.
Patch Set 1 #Patch Set 2 : diff -r 862455e0916342f59979ccfdcedd35d5fca48cb1 https://code.google.com/p/go #Patch Set 3 : diff -r 59fb8415a560343b9d73cb7a5fc0f40dc26e16a0 https://code.google.com/p/go #Patch Set 4 : diff -r e423b2f2d361065a26557d4375f4716f668b3fac https://code.google.com/p/go #
Total comments: 2
Patch Set 5 : diff -r 38f88b06704247749b469a2c9149ef5b35230cad https://code.google.com/p/go #
Total comments: 2
MessagesTotal messages: 9
|