• 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
Documentation Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...