• Andrei Vagin's avatar
    zdtm: use a unix socket instead of a pipe to synchronizer processes · aabeb8e4
    Andrei Vagin authored
    A unix socket can be bound to itself, so we need only one socket
    instead of a pair of pipe.
    
    If we use a socket, we can peek a message and if it isn't for us
    we don't need to send it back.
    
    Currently a process reads message from pipe, if it isn't for him,
    it sends it back and sleeps for a random timeout. In a worst case
    each waiter will read and send a message back, before the right
    one will get it.
    
    travis-ci: success for series starting with [1/3] zdtm: call test_init() before doing anything
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    aabeb8e4
Name
Last commit
Last update
..
arch Loading commit data...
Makefile Loading commit data...
cpuid.h Loading commit data...
datagen.c Loading commit data...
fs.c Loading commit data...
fs.h Loading commit data...
groups.c Loading commit data...
groups.desc Loading commit data...
lock.c Loading commit data...
lock.h Loading commit data...
msg.c Loading commit data...
ns.c Loading commit data...
ns.h Loading commit data...
parseargs.c Loading commit data...
parseargs.sh Loading commit data...
stop_and_chk.sh Loading commit data...
streamutil.c Loading commit data...
tcp.c Loading commit data...
test.c Loading commit data...
zdtmtst.h Loading commit data...