From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from f189.i.mail.ru (f189.i.mail.ru [128.140.171.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id AD6FC452566 for ; Thu, 14 Nov 2019 17:21:56 +0300 (MSK) From: =?UTF-8?B?U2VyZ2V5IFBldHJlbmtv?= MIME-Version: 1.0 Date: Thu, 14 Nov 2019 17:21:55 +0300 Reply-To: =?UTF-8?B?U2VyZ2V5IFBldHJlbmtv?= Message-ID: <1573741315.750102299@f189.i.mail.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 In-Reply-To: <649a8cbc-6861-1a9f-7463-457c043a6484@tarantool.org> References: <649a8cbc-6861-1a9f-7463-457c043a6484@tarantool.org> Subject: Re: [Tarantool-patches] =?utf-8?q?=5BPATCH_2/2=5D_app/fiber=3A_wait_t?= =?utf-8?q?ill_a_full_event_loop_iteration_ends=2E?= List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?VmxhZGlzbGF2IFNocGlsZXZveQ==?= Cc: tarantool-patches@dev.tarantool.org CgpIaSEgVGhhbmsgeW91IGZvciByZXZpZXchCgo+0KfQtdGC0LLQtdGA0LMsIDE0INC90L7Rj9Cx 0YDRjyAyMDE5LCAxOjQ1ICswMzowMCDQvtGCIFZsYWRpc2xhdiBTaHBpbGV2b3kgPHYuc2hwaWxl dm95QHRhcmFudG9vbC5vcmc+Ogo+Cj5IaSEgVGhhbmtzIGZvciB0aGUgcGF0aCEKPgo+V2UgZG9u J3QgdXNlIGRvdHMgaW4gY29tbWl0IHRpdGxlLiBJIGd1ZXNzIHRoaXMgaXMgYSB0eXBvLiAKCkZp eGVkLgoKPgo+Cj5PbiAxMy8xMS8yMDE5IDE5OjA0LCBTZXJnZSBQZXRyZW5rbyB3cm90ZToKPj4g ZmliZXIudG9wKCkgZ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