Ssh.blocking mode with threads - WeOnlyDo Discussion board

Ssh.blocking mode with threads (General questions)

by FuMi, Tuesday, January 30, 2007, 12:48 (6508 days ago)

Hi,

my problem is:

when i use threads which use ssh object (ssh configured ssh.blocking = true) the object ssh change sometime in ssh.blocking = false and jump a exception: Only available in Blocking mode.

Re: Ssh.blocking mode with threads

by woddrazen, Tuesday, January 30, 2007, 13:01 (6508 days ago) @ FuMi

Hi Fumi,


We will need more information to deal with your problem. Maybe you can show us your code snippet?

Code snippet will maybe help us to find our more about it.

Also did you try our samples in Samples folder. What is result?

Hope I helped.


Regards,
Drazen

Re: Ssh.blocking mode with threads

by Fumi22, Tuesday, January 30, 2007, 13:20 (6508 days ago) @ woddrazen

hi,

i belive that i repair my error.

I have a ssh component in blocking mode.
I have three threads, when i active first thread with ssh component and after abort this thread, i active second thread, now the component ssh isn't in blocking mode.. i don't know for what reason.. and the second thread can't use component ssh.execute.. I should wait that ssh.bloking mode are true