Re: Does anyone know how to fix Multithreading??

2000-07-10 Thread Toomas Kiisk
On Tue, 4 Jul 2000, James Bailey wrote: how is a critical section going to help? when doing a read in one thread and a write in another, you don't really want to force one to happen before another ... you want either to happen as the resources become available. With critical sections you

Re: Does anyone know how to fix Multithreading??

2000-07-04 Thread James Bailey
how is a critical section going to help? when doing a read in one thread and a write in another, you don't really want to force one to happen before another ... you want either to happen as the resources become available. With critical sections you can't find out what someone else wants (i.e. if

Re: Does anyone know how to fix Multithreading??

2000-07-03 Thread Rich Salz
why uses mutexes at all? programing model portability? write an emulation using pthreads; that will help. __ OpenSSL Project http://www.openssl.org Development Mailing List

Re: Does anyone know how to fix Multithreading??

2000-07-02 Thread Toomas Kiisk
On Tue, 27 Jun 2000, Richard Levitte - VMS Whacker wrote: [..] Doing it directly in OpenSSL is bulky at best right now, and also needs to be handled in a very general way, keeping in consideration that on Windows, handles are a limited resource. I've some ideas on how to go around that

Re: Does anyone know how to fix Multithreading??

2000-07-02 Thread Arne Ansper
Hmm, I was able to create 354406 unnamed mutexes, before CreateMutex() failed with ERROR_NOT_ENOUGH_QUOTA. Tested under NT4 SP6. btw, why use mutexes at all? openssl uses only unnamed mutexes and always waits indefinitly long on mutex. so we could use critical sections instead. they are

Re: Does anyone know how to fix Multithreading??

2000-07-02 Thread Toomas Kiisk
On Sun, 2 Jul 2000, Arne Ansper wrote: Hmm, I was able to create 354406 unnamed mutexes, before CreateMutex() failed with ERROR_NOT_ENOUGH_QUOTA. Tested under NT4 SP6. btw, why use mutexes at all? openssl uses only unnamed mutexes and always waits indefinitly long on mutex. so we