[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [EXTERNAL] Re: Question about multithreading with libSSH
[Thread Prev] | [Thread Next]
- Subject: RE: [EXTERNAL] Re: Question about multithreading with libSSH
- From: "Kennedy, Marcus A." <Marcus.Kennedy@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 27 Mar 2020 15:56:46 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
> -----Original Message----- > From: Andreas Schneider <asn@xxxxxxxxxxxxxx> > Sent: Friday, March 27, 2020 12:16 AM > To: libssh@xxxxxxxxxx > Cc: Kennedy, Marcus A. <Marcus.Kennedy@xxxxxxxxxx> > 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
Question about multithreading with libSSH | "Kennedy, Marcus A." <Marcus.Kennedy@xxxxxxxxxx> |
Re: Question about multithreading with libSSH | Andreas Schneider <asn@xxxxxxxxxxxxxx> |