I write an openssl based multi-threads server program. But it can only
support 16  thread on the WinXP. Exceeding that, the SSL_accept() will
failed.  I use the
InitializeCriticalSection/EnterCriticalSection/LeaveCriticalSection to do
the thread lock.
And i also compiled the program with /MD.

I compile the same program in Linux Suse, just changing to the pthread
locking mechnism. It's working fine with 1024 threads.

Who can tell me what happened? Which compile option I should add?

Regards,
Kurt.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to