Subject: File handlers in multithreading

File handlers in multithreading

From: San <sganis_at_gmail.com>
Date: Tue, 23 Oct 2018 14:01:29 +0300

Hello All,

My program keeps many independent ssh sessions, one per each thread, to
avoid locking. I need some information about file handlers.
1. If I have a handler of a file from one session, can I close it using
another session in different thread?
2. If I open a file and get the handler in one session, can I operate on
that handler using different session in different thread (reading a chunk,
for example)?

Thanks,
San.

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2018-10-23