On Tue, 19 May 2009, Peter Stuge wrote:

> There was a bit of discussion about this on IRC. It might be nice to have a 
> compile time decision for automatic channel thread safety.

It could even be made with optional mutex callbacks, like OpenSSL and gcrypt 
do thread-safety.

This said, it should be noted that you must also set the OpenSSL or gcrypt 
mutex callbacks for libssh2 to work multi-threaded (this is unrelated to 
sessions/channels being thread-safe or not).

-- 

  / daniel.haxx.se

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to