This month's Index
Subject: Re: libssh2_init()
From: Peter Stuge <peter_at_stuge.se>
Date: Tue, 7 Oct 2014 07:02:57 +0200
Vishal Sharma wrote:
> should there be a master thread which would call "rc = libssh2_init (0);"
Yes. Call it one time before creating any threads.
Also make sure to guard the shared resource (session) with locks.