Subject: Re: LIBSSH2_CHANNEL struct can be shared between the threads in c++??

Re: LIBSSH2_CHANNEL struct can be shared between the threads in c++??

From: Richa Mehta <richa21089_at_gmail.com>
Date: Mon, 18 Feb 2019 14:46:12 +0530

Hello,

Can someone please response to below query:
I want to share the ssh session and channels structures between the threads
in c++, so is it thread safe???

Thanks,
Richa

On Wed, 9 Jan 2019 at 17:47, Richa Mehta <richa21089_at_gmail.com> wrote:

> Hi,
>
> I want to share the ssh session and channels between the threads but as
> per the introduction for thread safety, it is written there not to share
> handles between threads so is it safe to share the ssh channels between
> threads in C++??
>
> Thanks,
> Richa
>
>

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2019-02-18