EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Threads priorities

Posted: 08/21/2007 08:23:18
by Josef Novak (Basic support level)
Joined: 08/30/2006
Posts: 47

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
Posted: 08/21/2007 23:51:09
by Eugene Mayevski (Team)

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



Topic viewed 1306 times

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


Back to top

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

Got it!