• Rob Pike's avatar
    netchan: use acknowledgements on export send. · d54b921c
    Rob Pike authored
    Also add exporter.Drain() to wait for completion.
    This makes it possible for an Exporter to fire off a message
    and wait (by calling Drain) for the message to be received,
    even if a client has yet to call to retrieve it.
    
    Once this design is settled, I'll do the same for import send.
    
    Testing strategies welcome.  I have some working stand-alone
    tests.
    
    R=rsc
    CC=golang-dev
    https://golang.org/cl/2137041
    d54b921c
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...