> -----Original Message----- > From: Andreas Schneider <a...@cryptomilk.org> > Sent: Friday, March 27, 2020 12:16 AM > To: libssh@libssh.org > Cc: Kennedy, Marcus A. <marcus.kenn...@rocket.com> > Subject: [EXTERNAL] Re: Question about multithreading with libSSH > > On Wednesday, 25 March 2020 21:07:33 CET Kennedy, Marcus A. wrote: > > Is libSSH thread safe? > > Yes, on a session level. One thread, one session.
Bummer. So then I have to lock the session before use. Fair enough. We were seeing strange things when having a writer and a reader thread both accessing the channel nearly at the same time. Okay, thanks Andreas! Andy