Subject: Re: libssh2 thread safety

Re: libssh2 thread safety

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 15 Apr 2012 11:50:39 +0200 (CEST)

On Sat, 14 Apr 2012, Peter Stuge wrote:

>> Is libssh2 thread safe.
>
> No.

I would not say it like that.

I claim libssh2 _is_ thread safe, as long as you don't share libssh2's structs
and handles between threads and assuming you use the crypto engine's mutex
callbacks properly.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-04-15