Discussion:
File handlers in multithreading
San
2018-10-23 11:01:29 UTC
Permalink
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.

Continue reading on narkive:
Loading...