Tarantool development patches archive
 help / color / mirror / Atom feed
From: Stanislav Zudin <szudin@tarantool.org>
To: tarantool-patches@freelists.org, vdavydov.dev@gmail.com,
	alexander.turenko@tarantool.org
Cc: Stanislav Zudin <szudin@tarantool.org>
Subject: [PATCH v4 0/2] core: Non-blocking io.popen
Date: Tue,  2 Jul 2019 10:36:14 +0300	[thread overview]
Message-ID: <cover.1562052422.git.szudin@tarantool.org> (raw)

Adds nonblocking implementation of popen.
The second commit contains changes made in the recent version.
To be squashed after review.

Branch: https://github.com/tarantool/tarantool/tree/stanztt/gh-4031-nonblocking-popen
Issue: https://github.com/tarantool/tarantool/issues/4031

Stanislav Zudin (2):
  core: Non-blocking io.popen
  core: Non-blocking popen

 src/CMakeLists.txt              |   1 +
 src/lib/core/CMakeLists.txt     |   8 +
 src/lib/core/coio_popen.c       | 768 ++++++++++++++++++++++++++++++++
 src/lib/core/coio_popen.h       | 250 +++++++++++
 src/lib/core/coio_task.c        |   2 +
 src/lua/fio.c                   | 306 +++++++++++++
 src/lua/fio.lua                 | 215 +++++++++
 src/lua/init.c                  |   2 +
 src/lua/lua_signal.c            | 147 ++++++
 src/lua/lua_signal.h            |  45 ++
 src/main.cc                     |   6 +-
 test/app-tap/fio_popen.test.lua | 392 ++++++++++++++++
 test/app-tap/fio_popen_test1.sh |   6 +
 test/app-tap/fio_popen_test2.sh |   7 +
 test/app-tap/fio_popen_test3.sh |   5 +
 15 files changed, 2159 insertions(+), 1 deletion(-)
 create mode 100644 src/lib/core/coio_popen.c
 create mode 100644 src/lib/core/coio_popen.h
 create mode 100644 src/lua/lua_signal.c
 create mode 100644 src/lua/lua_signal.h
 create mode 100755 test/app-tap/fio_popen.test.lua
 create mode 100755 test/app-tap/fio_popen_test1.sh
 create mode 100755 test/app-tap/fio_popen_test2.sh
 create mode 100755 test/app-tap/fio_popen_test3.sh

-- 
2.17.1

             reply	other threads:[~2019-07-02  7:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-02  7:36 Stanislav Zudin [this message]
2019-07-02  7:36 ` [PATCH v4 1/2] " Stanislav Zudin
2019-07-02  7:36 ` [PATCH v4 2/2] core: Non-blocking popen Stanislav Zudin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1562052422.git.szudin@tarantool.org \
    --to=szudin@tarantool.org \
    --cc=alexander.turenko@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=vdavydov.dev@gmail.com \
    --subject='Re: [PATCH v4 0/2] core: Non-blocking io.popen' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox