Subject: File handlers in multithreading

File handlers in multithreading

From: San <>
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)?


Received on 2018-10-23