www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

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

the libssh2 team