On Sat, 28 Mar 2009, Jean-Louis CHARTON wrote:

> So, could it be possible to have a special initialization function for 
> libssh2 library that would do all the non re-entrant but necessary 
> initializations one could call early in main before spawning new threads?

Yes, I'm quite sure we need something like that for the OpenSSL/gcrypt inits 
to remain safe.

libssh2_init() and libssh2_cleanup() perhaps.

-- 

  / daniel.haxx.se

------------------------------------------------------------------------------
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to