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

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

From: Richa Mehta <richa21089_at_gmail.com>
Date: Wed, 9 Jan 2019 17:47:10 +0530

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-01-09