[Tarantool-patches] [PATCH 13/13] popen: use of exception safe functions for IO
Cyrill Gorcunov
gorcunov at gmail.com
Fri Apr 10 14:50:00 MSK 2020
On Fri, Apr 10, 2020 at 05:50:51AM +0300, Alexander Turenko wrote:
> popen read / write functions provides are written in C and intended to
> be used from C: the contract is to return -1 at failure and set an entry
> to the diagnostics area. However a C++ exception from coio read / write
> functions would pass over a popen function stack frame.
>
> The solution is to use the recently introduced coio exception safe
> functions.
>
> Part of #4031
Acked-by: Cyrill Gorcunov <gorcunov at gmail.com>
More information about the Tarantool-patches
mailing list