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
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
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
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
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
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