[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multi-threading
[Thread Prev] | [Thread Next]
- Subject: Re: Multi-threading
- From: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 20 Dec 2017 10:38:22 +0100
- To: libssh@xxxxxxxxxx
On Tuesday, 12 December 2017 01:25:58 CET Ахриев Альберт wrote: > Dear All, > > As a newcomer I am struggling to understand how to use libssh in > multithreaded environment. > > Very simple question: if application creates in each thread a separate > instance of ssh session, which runs completely independently from other > instances, is that enough to guarantee thread-safety? In other words, are > the state variables of each session really independent? No, that's not enough see: http://api.libssh.org/master/libssh_tutor_threads.html Andreas -- Andreas Schneider GPG-ID: CC014E3D www.cryptomilk.org asn@xxxxxxxxxxxxxx
Re: Multi-threading | Nikos Mavrogiannopoulos <nmav@xxxxxxxxxx> |
Multi-threading | Ахриев Альберт <aaahaaah@xxxxxxxxx> |