From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-f67.google.com (mail-lf1-f67.google.com [209.85.167.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 73E9246970E for ; Thu, 26 Dec 2019 10:19:24 +0300 (MSK) Received: by mail-lf1-f67.google.com with SMTP id n25so17971946lfl.0 for ; Wed, 25 Dec 2019 23:19:24 -0800 (PST) Date: Thu, 26 Dec 2019 10:19:21 +0300 From: Cyrill Gorcunov Message-ID: <20191226071921.GD2463@uranus> References: <20191217125420.20881-1-gorcunov@gmail.com> <20191217125420.20881-3-gorcunov@gmail.com> <20191226071441.GB6901@atlas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191226071441.GB6901@atlas> Subject: Re: [Tarantool-patches] [PATCH v6 2/4] popen: Introduce a backend engine List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Konstantin Osipov Cc: tml On Thu, Dec 26, 2019 at 10:14:41AM +0300, Konstantin Osipov wrote: ... > > + say_debug("popen: %d: read idx [%s:%d] buf %p count %zu " > > + "fds %d timeout %.9g", > > + handle->pid, stdX_str(idx), idx, buf, count, > > + handle->fds[idx], timeout); > > + > > + return coio_read_fd_timeout(handle->fds[idx], > > + buf, count, timeout); > > +} > > Right, so could you please use struct coio here, and not > coio_read_fd_timeout? I.e. convert handle->fds to coio? I'll try. Thanks Kostya!