If I knew that I wouldn't ask, would I. Perhaps the overhead of THREAD_ALLOW is too big to make a positive net result?
Come to think about it you really don't need a fancy locking mechanism. A simple semaphore should do, that ensures that an exception is thrown when two methods are called concurently in a cipher/hash. If that occurs the code is buggy anyway.
/ Martin Nilsson (saturator)
Previous text:
2004-02-13 08:29: Subject: THREADS_ALLOW
Yes? Why not?
/ Mirar