Santiago Ganis wrote:
> My program will be calling different functions from different threads using
> one session. Is it possible to use different sftp channels in different
> threads and share a session?
> Any recommendation about this design will be helpful.
libssh2 is not multithread safe so you have to lock the session.
//Peter
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2018-10-13