[Tarantool-patches] [PATCH] fiber: set diag error on madvise, mprotect fails
Cyrill Gorcunov
gorcunov at gmail.com
Sun Jan 12 12:27:14 MSK 2020
On Sat, Jan 11, 2020 at 10:03:33AM +0300, Oleg Babin wrote:
> Hello, thanks for your patch!
>
> Our documentation doesn't contain any mentions that fiber.create can fail.
>
> Could you please file an issue (or may be doc bot request) with
> description in what cases user
>
> can expect that fiber.create will fail. Usually users don't use pcall for
> fiber.create and this fact can
>
> be quite unexpected for them.
>
Actually we do have reference that fiber_new() can fail.
https://www.tarantool.io/ru/doc/2.3/dev_guide/reference_capi/fiber/#c.fiber_new
More information about the Tarantool-patches
mailing list