On Do, 22.07.21 14:04, Stanislav Angelovič (angelovi...@gmail.com) wrote:
> Hi guys!
>
> Assuming sd-bus is used in a C++ application, is sd-bus safe against
> exceptions flying from e.g. a sd-bus vtable callback handler (provided by
> the C++ application) and catching them in the caller of sd_bus
>>> Cristian Rodríguez schrieb am 26.07.2021 um
21:45 in
Nachricht
:
> On Thu, Jul 22, 2021 at 9:16 AM Norbert Lange wrote:
>>
>
>> It should be "supported" in the way that exceptions will *not*
>> propagate in C libraries, and your program will call std::terminate
>> should one callback throw a
On Thu, Jul 22, 2021 at 9:16 AM Norbert Lange wrote:
>
> It should be "supported" in the way that exceptions will *not*
> propagate in C libraries, and your program will call std::terminate
> should one callback throw an exception.
> Mark your callbacks with 'noexcept', statical analysis might be
Am Do., 22. Juli 2021 um 14:04 Uhr schrieb Stanislav Angelovič
:
>
> Hi guys!
>
> Assuming sd-bus is used in a C++ application, is sd-bus safe against
> exceptions flying from e.g. a sd-bus vtable callback handler (provided by the
> C++ application) and catching them in the caller of sd_bus_proce
> On 22 Jul 2021, at 13:04, Stanislav Angelovič wrote:
>
>
> Hi guys!
>
> Assuming sd-bus is used in a C++ application, is sd-bus safe against
> exceptions flying from e.g. a sd-bus vtable callback handler (provided by the
> C++ application) and catching them in the caller of sd_bus_proces
Hi guys!
Assuming sd-bus is used in a C++ application, is sd-bus safe against
exceptions flying from e.g. a sd-bus vtable callback handler (provided by
the C++ application) and catching them in the caller of sd_bus_process()
(which is the same C++ app)?
Or this is not supported (so leaks or whate