[Tarantool-patches] [PATCH] Add a check whether glibc is used

Cyrill Gorcunov gorcunov at gmail.com
Thu Apr 23 12:26:00 MSK 2020


On Thu, Apr 23, 2020 at 12:10:25PM +0300, lvasiliev wrote:
> 
> commit 3e21641638075fe0b8ad909a6a3ce0b064695906
> Author: Leonid Vasiliev <lvasiliev at tarantool.org>
> Date:   Tue Apr 21 19:16:17 2020 +0300
> 
>     Add a check whether glibc is used
> 
>     The cbus hang test uses glibc pthread mutex implementation details.
>     The reason why mutex implementation details is used:
>     "For the bug reproducing the canceled thread must be canceled
>     during processing cpipe_flush_cb. We need to synchronize
>     the main thread and the canceled worker thread for that.
>     So, thread synchronization has been realized by means of
>     endpoint's mutex internal field(__data.__lock)."
>     Therefore, it should not compile in case of using another library.

Thank you!


More information about the Tarantool-patches mailing list