EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Threads priorities

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#3601
Posted: 08/21/2007 08:23:18
by Josef Novak (Basic support level)
Joined: 08/30/2006
Posts: 47

Hello,
I have a question if SB library (especially methods like TElSimpeFTPSClient.GetFileList(), Cwd()...) changes threads priorities (it's own threads or possibly others). And if, then how. We have such case that SB calling threads run with BelowNormal or Lowest priority and we have other citical thread with priority Highest, but the critical thread is sometimes blocked by those methods for tens of seconds. Do you know what could be the reason ?
Thanks a lot
#3602
Posted: 08/21/2007 23:51:09
by Eugene Mayevski (EldoS Corp.)

As far as I know, only simple port forwarding components change thread priority. SFTP components don't do anything like this. However, they do use winsock select(), so if you use the SFTP component in the time-critical thread, you of course can block it.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 1145 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!