On Tuesday 22 September 2015 08:28:55 Mark Anthony Santos wrote:
> Thanks!
> 
> But I'm not using pthread in my application. I'm using windows thread. I'm
> not pretty sure if sshlib supports threads other than pthread.

Just for you a copy & paste and the most important sentence highlighted:

At all times, you may use different sessions inside threads, make parallel 
connections, read/write on different sessions and so on.

    *You cannot use a single session (or channels for a single session) in
     several threads at the same time.*

This will most likely lead to internal state corruption. This limitation is 
being worked out and will maybe disappear later.

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                [email protected]

Reply via email to