]> Cypherpunks repositories - gostls13.git/commit
Change exvar to use a goroutine channel worker instead of a mutex for synchronisation.
authorDavid Symonds <dsymonds@golang.org>
Tue, 21 Apr 2009 23:50:09 +0000 (16:50 -0700)
committerDavid Symonds <dsymonds@golang.org>
Tue, 21 Apr 2009 23:50:09 +0000 (16:50 -0700)
commit5cb6843a4eecc2283e514de9e81fc434413298dd
treee5c6352d2b1e196cccefb330e987238fcbb6d68b
parent9c456283f3f75da76556bb73cd629d76813af1f9
Change exvar to use a goroutine channel worker instead of a mutex for synchronisation.
Also it should be more testable, as there's less global state.

R=r
APPROVED=r
DELTA=113  (38 added, 12 deleted, 63 changed)
OCL=27653
CL=27694
src/lib/Makefile
src/lib/exvar.go
src/lib/exvar_test.go