Subject: Re: multithread calls libssh2_session_handshake,error,return -13

Re: multithread calls libssh2_session_handshake,error,return -13

From: Peter Stuge <peter_at_stuge.se>
Date: Wed, 12 Feb 2014 19:09:56 +0100

xingzhiming wrote:
> How to use multi-thread calls libssh2?

Protect all calls which use the same session with a mutex.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2014-02-12