aboutsummaryrefslogtreecommitdiff
path: root/src/core/msgqueue.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-05-07 19:42:33 -0700
committerGarrett D'Amore <garrett@damore.org>2018-05-07 19:42:33 -0700
commitcc12510e510bc8e7f1b6d9e3816c6779caeee46c (patch)
tree4f8549c76418b8dd9b8126abfc3c6152a66e6541 /src/core/msgqueue.c
parent9494ae2130d65df46a9c3e8dd8836dce07ade042 (diff)
downloadnng-cc12510e510bc8e7f1b6d9e3816c6779caeee46c.tar.gz
nng-cc12510e510bc8e7f1b6d9e3816c6779caeee46c.tar.bz2
nng-cc12510e510bc8e7f1b6d9e3816c6779caeee46c.zip
fixes #304 perf tool exits too quickly on throughput client
This adds a synchronization at exit step, where the server sends a completion message to the client. This permits the client to to be sure that the server has got all the data. There is a 5 second timeout, which should allow this to work (albeit with a weird 5 second completion delay) with legacy servers.
Diffstat (limited to 'src/core/msgqueue.c')
0 files changed, 0 insertions, 0 deletions