[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-developers] Re: Gratuitous gcry_fast_random_poll
From: |
Werner Koch |
Subject: |
[GNUnet-developers] Re: Gratuitous gcry_fast_random_poll |
Date: |
Wed, 05 May 2004 20:36:09 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
On Wed, 05 May 2004 19:35:34 +0200, Marcus Brinkmann said:
> The asserts in the code check if the proper lock/unlock calls are made
> in the single-threaded case, too.
Which is a Good Thing.
> If the locking interface is exported in gcrypt, and users are
> responsible for their own locking, these assertions should probably be
> removed.
Why? Calling ath_mutex_lock on a locked mutex is a severe error in
any case.
Werner