Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: How to synchronize Threads?

$
0
0
So I have a application which queues up files and spawns Tasks to handle the uploading on separate threads. When I try to use the sftpClient inside this thread I get an exception:

Object synchronization method was called from an unsynchronized block of code

This happens when the Connect() method is called.
How do I get the sftpClient in sync with it's parent thread?

Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>