This month's Index
Subject: RE: libssh2_init()
From: Vishal Sharma <vsharma_at_optulink.com>
Date: Tue, 7 Oct 2014 09:05:18 -0500
Thank you for the response.
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.