Re: ssh_threads_set_callbacks in multithreaded server

2015-07-10 Thread Andreas Schneider
On Friday 10 July 2015 11:00:19 Игорь Коваленко wrote: > I don't understand what should do thread_id callback? Return the thread identifier of the calling thread ... pthread_self() (pthreads) or GetCurrentThreadId() (Windows) ... -- Andreas Schneider GPG-ID: CC014E3D www.cryp

Re: ssh_threads_set_callbacks in multithreaded server

2015-07-10 Thread Игорь Коваленко
I don't understand what should do thread_id callback? 2015-07-10 10:32 GMT+03:00 Aris Adamantiadis : > Le 10/07/15 09:20, Andreas Schneider a écrit : > > On Thursday 09 July 2015 18:48:58 Игорь Коваленко wrote: > >> Hello! > >> > >> I try to create a multithreaded ssh server. > >> Main thread cre

Re: ssh_threads_set_callbacks in multithreaded server

2015-07-10 Thread Aris Adamantiadis
Le 10/07/15 09:20, Andreas Schneider a écrit : > On Thursday 09 July 2015 18:48:58 Игорь Коваленко wrote: >> Hello! >> >> I try to create a multithreaded ssh server. >> Main thread creates new session and accepts a connection. After acception >> each session will be processed in separate thread. >>

Re: ssh_threads_set_callbacks in multithreaded server

2015-07-10 Thread Andreas Schneider
On Thursday 09 July 2015 18:48:58 Игорь Коваленко wrote: > Hello! > > I try to create a multithreaded ssh server. > Main thread creates new session and accepts a connection. After acception > each session will be processed in separate thread. > ... > while (1) > { > ssh