Ssh.blocking mode with threads (General questions)

by FuMi @, (6671 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.

locked

Re: Ssh.blocking mode with threads

by woddrazen @, (6671 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

locked

Re: Ssh.blocking mode with threads

by Fumi22 @, (6671 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

locked